2016-09-26 21:58:18 +02: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-09-26 21:58:18 +02: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.
|
|
|
|
|
2017-04-11 21:03:40 +02:00
|
|
|
"""Extractors for https://kobato.hologfx.com/"""
|
2016-09-26 21:58:18 +02: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
|
2016-09-26 21:58:18 +02: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 DokireaderChapterExtractor(foolslide.FoolslideChapterExtractor):
|
2016-09-26 21:58:18 +02:00
|
|
|
"""Extractor for manga-chapters from kobato.hologfx.com"""
|
|
|
|
category = "dokireader"
|
2017-04-11 21:03:40 +02:00
|
|
|
pattern = foolslide.chapter_pattern(r"kobato\.hologfx\.com/reader")
|
2017-02-01 00:53:19 +01:00
|
|
|
test = [(("https://kobato.hologfx.com/reader/read/"
|
|
|
|
"hitoribocchi_no_oo_seikatsu/en/3/34"), {
|
2017-09-24 16:57:47 +02:00
|
|
|
"keyword": "998d1d523da028284b8dd4b7b54ceae4af6cb65a",
|
2016-09-26 21:58:18 +02:00
|
|
|
})]
|
2017-04-11 21:03:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
class DokireaderMangaExtractor(foolslide.FoolslideMangaExtractor):
|
|
|
|
"""Extractor for manga from kobato.hologfx.com"""
|
|
|
|
category = "dokireader"
|
|
|
|
pattern = foolslide.manga_pattern(r"kobato\.hologfx\.com/reader")
|
|
|
|
test = [(("https://kobato.hologfx.com/reader/series/"
|
|
|
|
"boku_ha_ohimesama_ni_narenai/"), {
|
|
|
|
"url": "1c1f5a7258ce4f631f5fc32be548d78a6a57990d",
|
2017-09-24 16:57:47 +02:00
|
|
|
"keyword": "614d89a6045b85c822cbd3e67578ea7577dfc995",
|
2017-04-11 21:03:40 +02:00
|
|
|
})]
|