[sensescans] add chapter extractor

pull/13/head
Mike Fährmann 8 years ago
parent 5374f12bd0
commit 3078e4c9f5
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -43,7 +43,7 @@ Supported Sites
bato.to, dynasty-scans.com, kissmanga.com, kobato.hologfx.com,
mangahere.co, mangamint.com, mangapanda.com, mangapark.me, mangareader.net,
mangashare.com, mangastream.com, powermanga.org, raw.senmanga.com,
thespectrum.net
reader.sensescans.com, thespectrum.net
* Hentai:
doujinmode.net, exhentai.org, hbrowse.com, hentai2read.com,
hentaibox.net, hentaihere.com, hitomi.la, luscious.net, nhentai.net
@ -51,7 +51,7 @@ Supported Sites
pixiv.net, nijie.info, seiga.nicovideo.jp
* Western:
deviantart.com, hentai-foundry.com, imagefap,com, imgth.com, imgur.com,
pinterest.com, tumblr.com, twitter.com
pinterest.com, tumblr.com, twitter.com, whentai.com
* Futaba Channel-like:
4chan.org, 8ch.net
* Image Hosts:

@ -64,6 +64,7 @@ modules = [
"sankaku",
"seiga",
"senmanga",
"sensescans",
"spectrumnexus",
"tumblr",
"turboimagehost",

@ -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))
Loading…
Cancel
Save