mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-24 03:32:33 +01:00
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
# -*- 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.
|
|
|
|
"""Extractors for https://reader.kireicake.com/"""
|
|
|
|
from . import foolslide
|
|
|
|
|
|
class KireicakeChapterExtractor(foolslide.FoolslideChapterExtractor):
|
|
"""Extractor for manga-chapters from reader.kireicake.com"""
|
|
category = "kireicake"
|
|
pattern = foolslide.chapter_pattern(r"reader\.kireicake\.com")
|
|
test = [("https://reader.kireicake.com/read/wonderland/en/1/1/", {
|
|
"url": "b2d36bc0bc67e4c461c3a4d6444a2fd339f5d07e",
|
|
"keyword": "17d04e3bb24f6ad593463ecb7f90667f0df5326f",
|
|
})]
|
|
|
|
|
|
class KireicakeMangaExtractor(foolslide.FoolslideMangaExtractor):
|
|
"""Extractor for manga from reader.kireicake.com"""
|
|
category = "kireicake"
|
|
pattern = foolslide.manga_pattern(r"reader\.kireicake\.com")
|
|
test = [("https://reader.kireicake.com/series/wonderland/", {
|
|
"url": "d067b649af1cc88fa8c8b698fde04a10909fd169",
|
|
})]
|