update extractor unittest results
This commit is contained in:
@@ -21,8 +21,8 @@ class ImagebamGalleryExtractor(AsynchronousExtractor):
|
|||||||
pattern = [r"(?:https?://)?(?:www\.)?imagebam\.com/gallery/([^/]+)"]
|
pattern = [r"(?:https?://)?(?:www\.)?imagebam\.com/gallery/([^/]+)"]
|
||||||
test = [(("http://www.imagebam.com/"
|
test = [(("http://www.imagebam.com/"
|
||||||
"gallery/adz2y0f9574bjpmonaismyrhtjgvey4o"), {
|
"gallery/adz2y0f9574bjpmonaismyrhtjgvey4o"), {
|
||||||
"url": "d7a4483b6d5ebba81950a349aad58ae034c60eda",
|
"url": "fb01925129a1ff1941762eaa3a2783a66de6847f",
|
||||||
"keyword": "0ab7bef5cf995d9229dc900dc508311cefb32306",
|
"keyword": "2541078f61ce50714715e21757176dd69126f804",
|
||||||
"content": "596e6bfa157f2c7169805d50075c2986549973a8",
|
"content": "596e6bfa157f2c7169805d50075c2986549973a8",
|
||||||
})]
|
})]
|
||||||
root = "http://www.imagebam.com"
|
root = "http://www.imagebam.com"
|
||||||
@@ -78,8 +78,8 @@ class ImagebamImageExtractor(Extractor):
|
|||||||
subcategory = "image"
|
subcategory = "image"
|
||||||
pattern = [r"(?:https?://)?(?:www\.)?imagebam\.com/image/([0-9a-f]{15})"]
|
pattern = [r"(?:https?://)?(?:www\.)?imagebam\.com/image/([0-9a-f]{15})"]
|
||||||
test = [("http://www.imagebam.com/image/94d56c502511890", {
|
test = [("http://www.imagebam.com/image/94d56c502511890", {
|
||||||
"url": "94add9417c685d113a91bcdda4916e9538b5f8a9",
|
"url": "b384893c35a01a09c58018db71ddc4cf2480be95",
|
||||||
"keyword": "fd99b2f45b761d0b639af46740aacd976f5dfcc7",
|
"keyword": "1c7bc3f31ba248d65e085eb82d16f8e2156ec102",
|
||||||
"content": "0c8768055e4e20e7c7259608b67799171b691140",
|
"content": "0c8768055e4e20e7c7259608b67799171b691140",
|
||||||
})]
|
})]
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,9 @@ class Rule34TagExtractor(booru.TagMixin, Rule34Extractor):
|
|||||||
pattern = [(r"(?:https?://)?(?:www\.)?rule34\.xxx/(?:index\.php)?"
|
pattern = [(r"(?:https?://)?(?:www\.)?rule34\.xxx/(?:index\.php)?"
|
||||||
r"\?page=post&s=list&tags=(?P<tags>[^&#]+)")]
|
r"\?page=post&s=list&tags=(?P<tags>[^&#]+)")]
|
||||||
test = [("http://rule34.xxx/index.php?page=post&s=list&tags=danraku", {
|
test = [("http://rule34.xxx/index.php?page=post&s=list&tags=danraku", {
|
||||||
"url": "104094495973edfe7e764c8f2dd42017163322aa",
|
|
||||||
"content": "a01768c6f86f32eb7ebbdeb87c30b0d9968d7f97",
|
"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)?"
|
pattern = [(r"(?:https?://)?(?:www\.)?rule34\.xxx/(?:index\.php)?"
|
||||||
r"\?page=post&s=view&id=(?P<post>\d+)")]
|
r"\?page=post&s=view&id=(?P<post>\d+)")]
|
||||||
test = [("http://rule34.xxx/index.php?page=post&s=view&id=1974854", {
|
test = [("http://rule34.xxx/index.php?page=post&s=view&id=1974854", {
|
||||||
"url": "3b1f9817785868d1cd94d5376d20478eed591965",
|
|
||||||
"content": "fd2820df78fb937532da0a46f7af6cefc4dc94be",
|
"content": "fd2820df78fb937532da0a46f7af6cefc4dc94be",
|
||||||
})]
|
})]
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ SKIP = {
|
|||||||
# temporary issues
|
# temporary issues
|
||||||
"chronos",
|
"chronos",
|
||||||
"coreimg",
|
"coreimg",
|
||||||
"imagebam",
|
"luscious",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user