update extractor tests

This commit is contained in:
Mike Fährmann
2018-03-08 18:04:34 +01:00
parent ca326bd275
commit 32bbd12f08
3 changed files with 5 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ class KonachanPostExtractor(booru.PostMixin, KonachanExtractor):
("http://konachan.com/post/show/205189", { ("http://konachan.com/post/show/205189", {
"content": "674e75a753df82f5ad80803f575818b8e46e4b65", "content": "674e75a753df82f5ad80803f575818b8e46e4b65",
}), }),
("http://konachan.com/post/show/205189", None), ("http://konachan.net/post/show/205189", None),
] ]

View File

@@ -75,7 +75,7 @@ class SeigaUserExtractor(SeigaExtractor):
test = [ test = [
("http://seiga.nicovideo.jp/user/illust/39537793", { ("http://seiga.nicovideo.jp/user/illust/39537793", {
"pattern": r"https://lohas\.nicoseiga\.jp/priv/[0-9a-f]+/\d+/\d+", "pattern": r"https://lohas\.nicoseiga\.jp/priv/[0-9a-f]+/\d+/\d+",
"count": 3, "count": ">= 4",
"keyword": { "keyword": {
"user": { "user": {
"id": 39537793, "id": 39537793,

View File

@@ -18,9 +18,11 @@ SKIP = {
"archivedmoe", "archiveofsins", "thebarchive", "archivedmoe", "archiveofsins", "thebarchive",
# temporary issues # temporary issues
"imgcandy",
"imgchili", "imgchili",
"imgtrex",
"powermanga", "powermanga",
"pinterest", "puremashiro",
} }