improved foolslide-based extractors
- this includes dokireader, fallenangels, jaiminisbox, powermanga, sensescans, worldthree, yonkouprod, gomanga, yomanga - added 'chapter_string', 'chapter_id', 'chapter_minor' and 'count' keywords - changed the 'chapter' keyword to always be just a number - changed the default directory format
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2016 Mike Fährmann
|
||||
# Copyright 2016-2017 Mike Fährmann
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@@ -8,19 +8,14 @@
|
||||
|
||||
"""Extract manga-chapters from https://jaiminisbox.com/"""
|
||||
|
||||
from .foolslide import FoolslideChapterExtractor
|
||||
from . import foolslide
|
||||
|
||||
|
||||
class JaiminisboxChapterExtractor(FoolslideChapterExtractor):
|
||||
class JaiminisboxChapterExtractor(foolslide.FoolslideChapterExtractor):
|
||||
"""Extractor for manga-chapters from jaiminisbox.com"""
|
||||
category = "jaiminisbox"
|
||||
pattern = [(r"(?:https?://)?(?:www\.)?(jaiminisbox.com/reader/read/"
|
||||
r"[^/]+/([a-z]{2})/\d+/\d+)")]
|
||||
pattern = foolslide.chapter_pattern(r"(?:www\.)?jaiminisbox.com/reader")
|
||||
test = [("https://jaiminisbox.com/reader/read/uratarou/en/0/1/", {
|
||||
"url": "f021de7f31ee3a3f688fdf3e8183aef4226c2b50",
|
||||
"keyword": "836e94f68b78159cc10d12b72c981c276ff45b3f",
|
||||
"keyword": "d187df3e3b6dbe09ec163626f6fd7c57133ab163",
|
||||
})]
|
||||
|
||||
def __init__(self, match):
|
||||
url = "https://" + match.group(1)
|
||||
FoolslideChapterExtractor.__init__(self, url, match.group(2))
|
||||
|
||||
Reference in New Issue
Block a user