docstrings

This commit is contained in:
Mike Fährmann
2015-11-28 22:21:35 +01:00
parent 9cb184d409
commit f48712c9c9
5 changed files with 20 additions and 19 deletions

View File

@@ -6,23 +6,23 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
"""Extract manga pages from http://www.mangapanda.com/"""
"""Extract manga-chapters and entire manga from http://www.mangapanda.com/"""
from .mangareader import *
from .mangareader import MangaReaderMangaExtractor, MangaReaderChapterExtractor
class MangaPandaBase():
"""Base class for mangapanda extractors"""
category = "mangapanda"
url_base = "http://www.mangapanda.com"
class MangaPandaMangaExtractor(MangaPandaBase, MangaReaderMangaExtractor):
"""Extract all manga-chapters from mangapanda"""
pattern = [r"(?:https?://)?(?:www\.)?mangapanda\.com(/[^/]+)$"]
class MangaPandaChapterExtractor(MangaPandaBase, MangaReaderChapterExtractor):
"""Extract a single manga-chapter from mangapanda"""
pattern = [
r"(?:https?://)?(?:www\.)?mangapanda\.com((/[^/]+)/(\d+))",
r"(?:https?://)?(?:www\.)?mangapanda\.com(/\d+-\d+-\d+(/[^/]+)/chapter-(\d+).html)",