2016-12-14 15:34:30 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
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
2017-02-16 23:42:30 +01:00
|
|
|
# Copyright 2016-2017 Mike Fährmann
|
2016-12-14 15:34:30 +01:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# published by the Free Software Foundation.
|
|
|
|
|
|
|
|
"""Extract manga-chapters from https://yonkouprod.com/"""
|
|
|
|
|
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
2017-02-16 23:42:30 +01:00
|
|
|
from . import foolslide
|
2016-12-14 15:34:30 +01:00
|
|
|
|
2017-02-01 00:53:19 +01:00
|
|
|
|
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
2017-02-16 23:42:30 +01:00
|
|
|
class YonkouprodChapterExtractor(foolslide.FoolslideChapterExtractor):
|
2016-12-14 15:34:30 +01:00
|
|
|
"""Extractor for manga-chapters from yonkouprod.com"""
|
2017-01-04 20:57:35 +01:00
|
|
|
category = "yonkouprod"
|
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
2017-02-16 23:42:30 +01:00
|
|
|
pattern = foolslide.chapter_pattern(r"(?:www\.)?yonkouprod\.com/reader")
|
2016-12-14 15:34:30 +01:00
|
|
|
test = [("http://yonkouprod.com/reader/read/fairy-tail/en/0/512/", {
|
|
|
|
"url": "7647850e2b1ad11c2baa9628755bf7f186350a0b",
|
2017-02-17 02:42:45 +01:00
|
|
|
"keyword": "dc1b5764c71e9d93b2d4b18547feb372cd76f730",
|
2016-12-14 15:34:30 +01:00
|
|
|
})]
|