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://kobato.hologfx.com/"""
|
||||
|
||||
from .foolslide import FoolslideChapterExtractor
|
||||
from . import foolslide
|
||||
|
||||
|
||||
class DokireaderChapterExtractor(FoolslideChapterExtractor):
|
||||
class DokireaderChapterExtractor(foolslide.FoolslideChapterExtractor):
|
||||
"""Extractor for manga-chapters from kobato.hologfx.com"""
|
||||
category = "dokireader"
|
||||
pattern = [(r"(?:https?://)?(kobato\.hologfx\.com/reader/read/"
|
||||
r"[^/]+/([a-z]{2})/\d+/\d+)")]
|
||||
pattern = foolslide.chapter_pattern("kobato\.hologfx\.com/reader")
|
||||
test = [(("https://kobato.hologfx.com/reader/read/"
|
||||
"hitoribocchi_no_oo_seikatsu/en/3/34"), {
|
||||
"keyword": "4ee981ae14c6643f6a03a14c9f2c0d4898202671",
|
||||
"keyword": "f28811c01b64031671108a4a3d6eea1040816b82",
|
||||
})]
|
||||
|
||||
def __init__(self, match):
|
||||
url = "https://" + match.group(1)
|
||||
FoolslideChapterExtractor.__init__(self, url, match.group(2))
|
||||
|
||||
Reference in New Issue
Block a user