1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 19:22:32 +01:00
gallery-dl/gallery_dl/extractor/yonkouprod.py
2017-02-17 02:42:45 +01:00

22 lines
772 B
Python

# -*- coding: utf-8 -*-
# Copyright 2016-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.
"""Extract manga-chapters from https://yonkouprod.com/"""
from . import foolslide
class YonkouprodChapterExtractor(foolslide.FoolslideChapterExtractor):
"""Extractor for manga-chapters from yonkouprod.com"""
category = "yonkouprod"
pattern = foolslide.chapter_pattern(r"(?:www\.)?yonkouprod\.com/reader")
test = [("http://yonkouprod.com/reader/read/fairy-tail/en/0/512/", {
"url": "7647850e2b1ad11c2baa9628755bf7f186350a0b",
"keyword": "dc1b5764c71e9d93b2d4b18547feb372cd76f730",
})]