[sensescans] add chapter extractor
This commit is contained in:
@@ -64,6 +64,7 @@ modules = [
|
||||
"sankaku",
|
||||
"seiga",
|
||||
"senmanga",
|
||||
"sensescans",
|
||||
"spectrumnexus",
|
||||
"tumblr",
|
||||
"turboimagehost",
|
||||
|
||||
21
gallery_dl/extractor/sensescans.py
Normal file
21
gallery_dl/extractor/sensescans.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2016 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://kobato.hologfx.com/"""
|
||||
|
||||
from .foolslide import FoolslideChapterExtractor
|
||||
|
||||
class SensescansChapterExtractor(FoolslideChapterExtractor):
|
||||
"""Extractor for manga-chapters from kobato.hologfx.com"""
|
||||
category = "sensescans"
|
||||
pattern = [(r"(?:https?://)?(reader\.sensescans\.com/read/"
|
||||
r"[^/]+/([a-z]{2})/\d+/\d+)")]
|
||||
|
||||
def __init__(self, match):
|
||||
url = "http://" + match.group(1)
|
||||
FoolslideChapterExtractor.__init__(self, url, match.group(2))
|
||||
Reference in New Issue
Block a user