smaller code and text changes

This commit is contained in:
Mike Fährmann
2017-09-30 18:52:23 +02:00
parent ad4580800c
commit b319f4bab3
7 changed files with 31 additions and 33 deletions

View File

@@ -268,9 +268,7 @@ class PixivRankingExtractor(PixivExtractor):
r"ranking\.php(?:\?([^#]*))?"]
test = [
(("https://www.pixiv.net/ranking.php"
"?mode=daily&content=illust&date=20170818"), {
"pattern": r"^https?://i\d*\.pixiv\.net/img-original/img/.+/\d+_p",
}),
"?mode=daily&content=illust&date=20170818"), None),
("https://www.pixiv.net/ranking.php", None),
]