add manga extractors to all foolslide-based modules

This commit is contained in:
Mike Fährmann
2017-04-11 21:03:40 +02:00
parent bd95fea82c
commit c9a5650cf8
11 changed files with 152 additions and 22 deletions

View File

@@ -6,7 +6,7 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
"""Extract manga-chapters from https://reader.seaotterscans.com/"""
"""Extractors for https://reader.seaotterscans.com/"""
from . import foolslide
@@ -19,3 +19,12 @@ class SeaotterscansChapterExtractor(foolslide.FoolslideChapterExtractor):
"url": "63d46b8883cc652dfe8bd5be4492160dd31f06a8",
"keyword": "4d92576e23ee2a5058fd150690230091ee091868",
})]
class SeaotterscansMangaExtractor(foolslide.FoolslideMangaExtractor):
"""Extractor for manga from reader.seaotterscans.com"""
category = "seaotterscans"
pattern = foolslide.manga_pattern("reader\.seaotterscans\.com")
test = [("https://reader.seaotterscans.com/series/marry_me/", {
"url": "fdbacabfa566a6baeb3f01bb46cbda0577bd4bbe",
})]