1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 20:22:36 +01:00

[sensescans] add chapter extractor

This commit is contained in:
Mike Fährmann 2016-10-25 15:25:25 +02:00
parent 5374f12bd0
commit 3078e4c9f5
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
3 changed files with 24 additions and 2 deletions

View File

@ -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:

View File

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

View 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))