From 619387cbb1dab3db45dad88ced0bc8cc64fbd02e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 28 Jan 2018 18:29:05 +0100 Subject: [PATCH] update extractor unittest results --- gallery_dl/extractor/imagebam.py | 8 ++++---- gallery_dl/extractor/rule34.py | 4 ++-- test/test_extractors.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gallery_dl/extractor/imagebam.py b/gallery_dl/extractor/imagebam.py index 276e9055..e88aa8c7 100644 --- a/gallery_dl/extractor/imagebam.py +++ b/gallery_dl/extractor/imagebam.py @@ -21,8 +21,8 @@ class ImagebamGalleryExtractor(AsynchronousExtractor): pattern = [r"(?:https?://)?(?:www\.)?imagebam\.com/gallery/([^/]+)"] test = [(("http://www.imagebam.com/" "gallery/adz2y0f9574bjpmonaismyrhtjgvey4o"), { - "url": "d7a4483b6d5ebba81950a349aad58ae034c60eda", - "keyword": "0ab7bef5cf995d9229dc900dc508311cefb32306", + "url": "fb01925129a1ff1941762eaa3a2783a66de6847f", + "keyword": "2541078f61ce50714715e21757176dd69126f804", "content": "596e6bfa157f2c7169805d50075c2986549973a8", })] root = "http://www.imagebam.com" @@ -78,8 +78,8 @@ class ImagebamImageExtractor(Extractor): subcategory = "image" pattern = [r"(?:https?://)?(?:www\.)?imagebam\.com/image/([0-9a-f]{15})"] test = [("http://www.imagebam.com/image/94d56c502511890", { - "url": "94add9417c685d113a91bcdda4916e9538b5f8a9", - "keyword": "fd99b2f45b761d0b639af46740aacd976f5dfcc7", + "url": "b384893c35a01a09c58018db71ddc4cf2480be95", + "keyword": "1c7bc3f31ba248d65e085eb82d16f8e2156ec102", "content": "0c8768055e4e20e7c7259608b67799171b691140", })] diff --git a/gallery_dl/extractor/rule34.py b/gallery_dl/extractor/rule34.py index 08db9af8..6e74bf70 100644 --- a/gallery_dl/extractor/rule34.py +++ b/gallery_dl/extractor/rule34.py @@ -29,8 +29,9 @@ class Rule34TagExtractor(booru.TagMixin, Rule34Extractor): pattern = [(r"(?:https?://)?(?:www\.)?rule34\.xxx/(?:index\.php)?" r"\?page=post&s=list&tags=(?P[^&#]+)")] test = [("http://rule34.xxx/index.php?page=post&s=list&tags=danraku", { - "url": "104094495973edfe7e764c8f2dd42017163322aa", "content": "a01768c6f86f32eb7ebbdeb87c30b0d9968d7f97", + "pattern": r"https?://b?img\.rule34\.xxx/images/\d+/[0-9a-f]+\.jpg", + "count": 2, })] @@ -39,6 +40,5 @@ class Rule34PostExtractor(booru.PostMixin, Rule34Extractor): pattern = [(r"(?:https?://)?(?:www\.)?rule34\.xxx/(?:index\.php)?" r"\?page=post&s=view&id=(?P\d+)")] test = [("http://rule34.xxx/index.php?page=post&s=view&id=1974854", { - "url": "3b1f9817785868d1cd94d5376d20478eed591965", "content": "fd2820df78fb937532da0a46f7af6cefc4dc94be", })] diff --git a/test/test_extractors.py b/test/test_extractors.py index 78334022..78f304b8 100644 --- a/test/test_extractors.py +++ b/test/test_extractors.py @@ -20,7 +20,7 @@ SKIP = { # temporary issues "chronos", "coreimg", - "imagebam", + "luscious", }