docstrings
This commit is contained in:
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user