update some tests
This commit is contained in:
parent
dfd1992a2c
commit
0211ec4114
@ -17,7 +17,7 @@ class InfinitychanThreadExtractor(chan.ChanThreadExtractor):
|
||||
pattern = [r"(?:https?://)?(?:www\.)?8ch\.net/([^/]+)/res/(\d+)"]
|
||||
test = [("https://8ch.net/tg/res/175887.html", {
|
||||
"url": "646d4230b40f9cff3f8674e3efe44bba3af4924b",
|
||||
"keyword": "d313fa77f689ddcd45736f1e86bf63cf58614786",
|
||||
"keyword": "cdb061d01e415631b79649d297dd7f995d48f8c4",
|
||||
"content": "81e21a3cc87f64f224a966f207e8e1731216c345",
|
||||
})]
|
||||
api_url = "https://8ch.net/{board}/res/{thread}.json"
|
||||
|
@ -22,7 +22,7 @@ class LusciousAlbumExtractor(Extractor):
|
||||
pattern = [(r"(?:https?://)?(?:www\.)?luscious\.net/c/([^/]+)/"
|
||||
r"(?:pictures/album|albums)/([^/]+_(\d+))")]
|
||||
test = [("https://luscious.net/c/hentai_manga/albums/okinami-no-koigokoro_277031/view/", {
|
||||
"url": "f26ec88844a053dba598c213ea7185ecb6b4566a",
|
||||
"url": "7e4984a271a1072ac6483e4228a045895aff86f3",
|
||||
"keyword": "b9281277ab062d95ed0713ea88ed15569d29bf84",
|
||||
"content": "b3a747a6464509440bd0ff6d1267e6959f8d6ff3",
|
||||
})]
|
||||
|
@ -20,7 +20,7 @@ class TumblrUserExtractor(Extractor):
|
||||
filename_fmt = "{category}_{user}_{id}{offset}.{extension}"
|
||||
pattern = [r"(?:https?://)?([^.]+)\.tumblr\.com(?:/page/\d+)?/?$"]
|
||||
test = [("http://demo.tumblr.com/", {
|
||||
"url": "d3d2bb185230e537314a0036814050634c730f74",
|
||||
"url": "5c113da25a605b7449de8ca1606eec5502b4dc9f",
|
||||
"keyword": "8704a9bbb65b6e52dc1ccdf2c2449bd4abe3d389",
|
||||
"content": "31495fdb9f84edbb7f67972746a1521456f649e2",
|
||||
})]
|
||||
@ -99,7 +99,7 @@ class TumblrPostExtractor(TumblrUserExtractor):
|
||||
subcategory = "post"
|
||||
pattern = [r"(?:https?://)?([^.]+)\.tumblr\.com/post/(\d+)"]
|
||||
test = [("http://demo.tumblr.com/post/459265350", {
|
||||
"url": "d3d2bb185230e537314a0036814050634c730f74",
|
||||
"url": "5c113da25a605b7449de8ca1606eec5502b4dc9f",
|
||||
"keyword": "821236db342fb0d1bf8a177ca3108349168e6cd0",
|
||||
})]
|
||||
|
||||
@ -113,7 +113,7 @@ class TumblrTagExtractor(TumblrUserExtractor):
|
||||
subcategory = "tag"
|
||||
pattern = [r"(?:https?://)?([^.]+)\.tumblr\.com/tagged/(.+)"]
|
||||
test = [("http://demo.tumblr.com/tagged/Times Square", {
|
||||
"url": "d3d2bb185230e537314a0036814050634c730f74",
|
||||
"url": "5c113da25a605b7449de8ca1606eec5502b4dc9f",
|
||||
"keyword": "e182759d3a26c9f72ccc8ddc22a382aad598d6dc",
|
||||
})]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user