1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

update extractor test results

- sensescans: replace 404d chapters
- mangapark: replace 404d chapters
- subscribestar: update test for attached files
This commit is contained in:
Mike Fährmann 2020-08-28 22:26:54 +02:00
parent ab1af66a97
commit 69e4871005
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
5 changed files with 19 additions and 25 deletions

View File

@ -208,16 +208,11 @@ EXTRACTORS = {
"pattern": r"(?:(?:www\.)?sensescans\.com/reader"
r"|reader\.sensescans\.com)",
"test-chapter": (
(("https://sensescans.com/reader/read/"
"magi__labyrinth_of_magic/en/37/369/"), {
"url": "8bbc59a995640bbb944c0b1be06a490909b58be1",
"keyword": "07acd84fb18a9f1fd6dff5befe711bcca0ff9988",
}),
(("https://reader.sensescans.com/read/"
"magi__labyrinth_of_magic/en/37/369/"), {
"url": "8bbc59a995640bbb944c0b1be06a490909b58be1",
"keyword": "07acd84fb18a9f1fd6dff5befe711bcca0ff9988",
("https://sensescans.com/reader/read/ao_no_orchestra/en/0/26/", {
"url": "bbd428dc578f5055e9f86ad635b510386cd317cd",
"keyword": "083ef6f8831c84127fe4096fa340a249be9d1424",
}),
("https://reader.sensescans.com/read/ao_no_orchestra/en/0/26/"),
),
"test-manga":
("https://sensescans.com/reader/series/yotsubato/", {

View File

@ -53,18 +53,19 @@ class MangaparkChapterExtractor(MangaparkBase, ChapterExtractor):
pattern = (r"(?:https?://)?(?:www\.)?mangapark\.(me|net|com)"
r"/manga/([^?&#]+/i\d+)")
test = (
("https://mangapark.net/manga/gosu/i811615/c55/1", {
("https://mangapark.net/manga/gosu/i811653/c055/1", {
"count": 50,
"keyword": "2bb16a50dbac9577ead62b41db9a01a0419c0ae2",
"keyword": "8344bdda8cd8414e7729a4e148379f147e3437da",
}),
(("https://mangapark.net/manga"
"/ad-astra-per-aspera-hata-kenjirou/i662054/c001.2/1"), {
"/ad-astra-per-aspera-hata-kenjirou/i662051/c001.2/1"), {
"count": 40,
"keyword": "8e9cce4ed0e25d12a45e02f840d6f32ef838e257",
"keyword": "2bb3a8f426383ea13f17ff5582f3070d096d30ac",
}),
("https://mangapark.net/manga/gekkan-shoujo-nozaki-kun/i655476/c70", {
(("https://mangapark.net/manga"
"/gekkan-shoujo-nozaki-kun/i2067426/v7/c70/1"), {
"count": 15,
"keyword": "19f730617074d65f91c0781f429de324890925bf",
"keyword": "edc14993c4752cee3a76e09b2f024d40d854bfd1",
}),
("https://mangapark.me/manga/gosu/i811615/c55/1"),
("https://mangapark.com/manga/gosu/i811615/c55/1"),
@ -119,8 +120,8 @@ class MangaparkMangaExtractor(MangaparkBase, MangaExtractor):
r"(/manga/[^/?&#]+)/?$")
test = (
("https://mangapark.net/manga/aria", {
"url": "9b0b31e4992260876f56d7bfc8ff0ae71295c4f4",
"keyword": "6e44744a28d01b889b1e8291847abd84b591590d",
"url": "9b62883c25c8de471f8ab43651e1448536c4ce3f",
"keyword": "eb4a9b273c69acf31efa731eba713e1cfa14bab6",
}),
("https://mangapark.me/manga/aria"),
("https://mangapark.com/manga/aria"),

View File

@ -147,13 +147,13 @@ class SubscribestarUserExtractor(SubscribestarExtractor):
"author_nick": "SubscribeStar",
"content": str,
"date" : "type:datetime",
"height" : int,
"id" : int,
"pinned" : bool,
"post_id": int,
"type" : "re:image|video",
"type" : "re:image|video|attachment",
"url" : str,
"width" : int,
"?pinned": bool,
"?height": int,
"?width" : int,
},
}),
("https://www.subscribestar.com/subscribestar", {

View File

@ -31,7 +31,7 @@ class XvideosGalleryExtractor(XvideosBase, GalleryExtractor):
r"/([^/?&#]+)/photos/(\d+)")
test = (
("https://www.xvideos.com/profiles/pervertedcouple/photos/751031", {
"url": "4f0d992e5dc39def2c3ac8e099d17bf09e76e3c7",
"url": "cb4657a37eea5ab6b1d333491cee7eeb529b0645",
"keyword": {
"gallery": {
"id" : 751031,

View File

@ -26,15 +26,13 @@ TRAVIS_SKIP = {
"archivedmoe", "archiveofsins", "thebarchive", "fireden", "4plebs",
"sankaku", "idolcomplex", "mangahere", "readcomiconline", "mangadex",
"sankakucomplex", "warosu", "fuskator", "patreon", "komikcast",
"instagram",
"instagram", "ngomik",
}
# temporary issues, etc.
BROKEN = {
"hentaihand",
"imagevenue",
"mangapark",
"ngomik",
"photobucket",
"worldthree",
}