[foolslide] restructure; convert suitable values to int

This commit is contained in:
Mike Fährmann
2017-09-24 16:57:47 +02:00
parent deb2e803ba
commit a85f06d2d1
10 changed files with 59 additions and 43 deletions

View File

@@ -18,11 +18,11 @@ class GomangaChapterExtractor(foolslide.FoolslideChapterExtractor):
test = [
("https://gomanga.co/reader/read/mata-kata-omou/en/0/1/page/11", {
"url": "5088d75bb44327fc503c85b52b1d6a371b8057f2",
"keyword": "f534cfc4c3aef87cb0439e2a37e2ebee98077e92",
"keyword": "10624e78924c37fd39543270a6965f2082bde08f",
}),
("https://gomanga.co/reader/read/pastel/en/31/144/", {
"url": "9cc2052fbf36344c573c754c5abe533a14b3e280",
"keyword": "a2ef55d26984c64baf026382f889bb013d01dc4f",
"keyword": "a355cd3197e70c24b84d3885e8a5ff0ac22537bf",
}),
]
single = False
@@ -34,5 +34,6 @@ class GomangaMangaExtractor(foolslide.FoolslideMangaExtractor):
pattern = foolslide.manga_pattern(r"(?:www\.)?gomanga\.co/reader")
test = [("https://gomanga.co/reader/series/pastel/", {
"url": "bd1c82d70838d54140a8209296e789f27ceab7cd",
"keyword": "fb1fd14548602dbe4f6e70a633429762972c1d5d",
})]
single = False