add manga extractors to all foolslide-based modules
This commit is contained in:
@@ -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://yomanga.co/"""
|
||||
"""Extractors for https://yomanga.co/"""
|
||||
|
||||
from . import foolslide
|
||||
|
||||
@@ -19,3 +19,12 @@ class YomangaChapterExtractor(foolslide.FoolslideChapterExtractor):
|
||||
"url": "4b5d8fc5902f03647cc876cf6643849e5bc05455",
|
||||
})]
|
||||
single = False
|
||||
|
||||
|
||||
class YomangaMangaExtractor(foolslide.FoolslideMangaExtractor):
|
||||
"""Extractor for manga from yomanga.co"""
|
||||
category = "yomanga"
|
||||
pattern = foolslide.manga_pattern(r"(?:www\.)?yomanga\.co/reader")
|
||||
test = [("https://yomanga.co/reader/series/6_weapons/", {
|
||||
"url": "19a4828d3a06a4c89c885847c83af54ec1add0f7",
|
||||
})]
|
||||
|
||||
Reference in New Issue
Block a user