2016-12-29 16:41:08 +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-29 16:41:08 +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.
|
|
|
|
|
2017-04-11 21:03:40 +02:00
|
|
|
"""Extractors for https://jaiminisbox.com/"""
|
2016-12-29 16:41:08 +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
|
2016-12-29 16:41:08 +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 JaiminisboxChapterExtractor(foolslide.FoolslideChapterExtractor):
|
2016-12-29 16:41:08 +01:00
|
|
|
"""Extractor for manga-chapters from jaiminisbox.com"""
|
|
|
|
category = "jaiminisbox"
|
2017-04-11 21:03:40 +02:00
|
|
|
pattern = foolslide.chapter_pattern(r"(?:www\.)?jaiminisbox\.com/reader")
|
2017-06-22 17:03:34 +02:00
|
|
|
test = [
|
|
|
|
("https://jaiminisbox.com/reader/read/uratarou/en/0/1/", {
|
2017-09-24 16:57:47 +02:00
|
|
|
"keyword": "d8919bc8f0351b44e938862214e654401962b5a5",
|
2017-06-22 17:03:34 +02:00
|
|
|
}),
|
|
|
|
("https://jaiminisbox.com/reader/read/dr-stone/en/0/16/", {
|
2017-12-24 22:53:10 +01:00
|
|
|
"keyword": "9b658599651f1ae87cab3e0e29dd21e8337a362c",
|
2017-06-22 17:03:34 +02:00
|
|
|
}),
|
|
|
|
]
|
2017-10-21 16:42:45 +02:00
|
|
|
method = "base64"
|
2017-04-11 21:03:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
class JaiminisboxMangaExtractor(foolslide.FoolslideMangaExtractor):
|
|
|
|
"""Extractor for manga from jaiminisbox.com"""
|
|
|
|
category = "jaiminisbox"
|
|
|
|
pattern = foolslide.manga_pattern(r"(?:www\.)?jaiminisbox\.com/reader")
|
|
|
|
test = [("https://jaiminisbox.com/reader/series/sora_no_kian/", {
|
|
|
|
"url": "66612be177dc3b3fa1d1f537ef02f4f701b163ea",
|
2017-09-24 16:57:47 +02:00
|
|
|
"keyword": "0908a4145bb03acc4210f5d01169988969f5acd1",
|
2017-04-11 21:03:40 +02:00
|
|
|
})]
|