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 http://www.slide.world-three.org/"""
"""Extractors for http://www.slide.world-three.org/"""
from . import foolslide
@@ -28,3 +28,13 @@ class WorldthreeChapterExtractor(foolslide.FoolslideChapterExtractor):
}),
]
scheme = "http"
class WorldthreeMangaExtractor(foolslide.FoolslideMangaExtractor):
"""Extractor for manga from slide.world-three.org"""
category = "worldthree"
pattern = foolslide.manga_pattern("(?:www\.)?slide\.world-three\.org")
test = [("http://www.slide.world-three.org/series/black_bullet/", {
"url": "5743b93512d26e6b540d90a7a5d69208b6d4a738",
})]
scheme = "http"