2017-01-13 00:03:12 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Copyright 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
|
|
|
|
# published by the Free Software Foundation.
|
|
|
|
|
2017-04-11 21:03:40 +02:00
|
|
|
"""Extractors for https://yomanga.co/"""
|
2017-01-13 00:03:12 +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
|
|
|
from . import foolslide
|
2017-01-13 00:03:12 +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 YomangaChapterExtractor(foolslide.FoolslideChapterExtractor):
|
2017-01-13 00:03:12 +01:00
|
|
|
"""Extractor for manga-chapters from yomanga.co"""
|
|
|
|
category = "yomanga"
|
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\.)?yomanga\.co/reader")
|
2017-01-13 00:03:12 +01:00
|
|
|
test = [("https://yomanga.co/reader/read/uwakoi/en/0/2/", {
|
|
|
|
"url": "4b5d8fc5902f03647cc876cf6643849e5bc05455",
|
|
|
|
})]
|
|
|
|
single = False
|
2017-04-11 21:03:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
class YomangaMangaExtractor(foolslide.FoolslideMangaExtractor):
|
|
|
|
"""Extractor for manga from yomanga.co"""
|
|
|
|
category = "yomanga"
|
|
|
|
pattern = foolslide.manga_pattern(r"(?:www\.)?yomanga\.co/reader")
|
|
|
|
test = [("https://yomanga.co/reader/series/6_weapons/", {
|
|
|
|
"url": "19a4828d3a06a4c89c885847c83af54ec1add0f7",
|
|
|
|
})]
|