Skip to content

Commit

Permalink
update test results
Browse files Browse the repository at this point in the history
- deviantart: 'index' is now an integer
- flickr: image file with lower quality
- paheal: image server name changed
- rule34: post got deleted
  • Loading branch information
mikf committed Apr 12, 2019
1 parent 87b0929 commit d6ddb74
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/deviantart.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class DeviantartGalleryExtractor(DeviantartExtractor):
"deviationid": str,
"?download_filesize": int,
"extension": str,
"index": str,
"index": int,
"is_deleted": bool,
"is_downloadable": bool,
"is_favourited": bool,
Expand Down
2 changes: 1 addition & 1 deletion gallery_dl/extractor/flickr.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class FlickrImageExtractor(FlickrExtractor):
test = (
("https://www.flickr.com/photos/departingyyz/16089302239", {
"pattern": pattern,
"content": "6aaad7512d335ca93286fe2046e7fe3bb93d808e",
"content": "0821a28ee46386e85b02b67cf2720063440a228c",
"keyword": {
"extension": "jpg",
"filename": "16089302239_de18cd8017_b",
Expand Down
4 changes: 2 additions & 2 deletions gallery_dl/extractor/paheal.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ class PahealPostExtractor(PahealExtractor):
pattern = (r"(?:https?://)?(?:rule34|rule63|cosplay)\.paheal\.net"
r"/post/view/(\d+)")
test = ("https://rule34.paheal.net/post/view/481609", {
"url": "3aa2189c8d1fa952a4d3420def93fd2bd54d6741",
"keyword": "99f631ebbde1324bbbedec40f0d4d6858619ba84",
"url": "1142779378f655ec0497d4c301836aa667f788b1",
"keyword": "34e9e93d4fa6fa06fac1a56e78c9a52e8cd7b271",
"content": "7b924bcf150b352ac75c9d281d061e174c851a11",
})

Expand Down
13 changes: 7 additions & 6 deletions gallery_dl/extractor/rule34.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class Rule34TagExtractor(booru.TagMixin, Rule34Extractor):
pattern = (r"(?:https?://)?(?:www\.)?rule34\.xxx/(?:index\.php)?"
r"\?page=post&s=list&tags=(?P<tags>[^&#]+)")
test = ("https://rule34.xxx/index.php?page=post&s=list&tags=danraku", {
"content": "a01768c6f86f32eb7ebbdeb87c30b0d9968d7f97",
"content": "97e4bbf86c3860be18de384d02d544251afe1d45",
"pattern": r"https?://([^.]+\.)?rule34\.xxx/images/\d+/[0-9a-f]+\.jpg",
"count": 2,
"count": 1,
})


Expand All @@ -50,13 +50,14 @@ class Rule34PostExtractor(booru.PostMixin, Rule34Extractor):
"""Extractor for single images from rule34.xxx"""
pattern = (r"(?:https?://)?(?:www\.)?rule34\.xxx/(?:index\.php)?"
r"\?page=post&s=view&id=(?P<post>\d+)")
test = ("https://rule34.xxx/index.php?page=post&s=view&id=1974854", {
"content": "fd2820df78fb937532da0a46f7af6cefc4dc94be",
test = ("https://rule34.xxx/index.php?page=post&s=view&id=1995545", {
"content": "97e4bbf86c3860be18de384d02d544251afe1d45",
"options": (("tags", True),),
"keyword": {
"tags_artist": "danraku",
"tags_character": "io_(pso2)",
"tags_copyright": "phantasy_star phantasy_star_online_2",
"tags_character": "kashima_(kantai_collection)",
"tags_copyright": "kantai_collection",
"tags_general": str,
"tags_metadata": str,
},
})
3 changes: 2 additions & 1 deletion test/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@
TRAVIS_SKIP = {
"exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie", "bobx",
"archivedmoe", "archiveofsins", "thebarchive", "fireden", "4plebs",
"sankaku", "idolcomplex", "mangahere", "readcomiconline",
"sankaku", "idolcomplex", "mangahere", "readcomiconline", "mangadex",
}

# temporary issues, etc.
BROKEN = {
"acidimg",
"mangapark",
}

Expand Down

0 comments on commit d6ddb74

Please sign in to comment.