diff --git a/README.rst b/README.rst index 42adf10f..79043bd2 100644 --- a/README.rst +++ b/README.rst @@ -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: diff --git a/gallery_dl/extractor/__init__.py b/gallery_dl/extractor/__init__.py index a92b7ae6..6fe917ce 100644 --- a/gallery_dl/extractor/__init__.py +++ b/gallery_dl/extractor/__init__.py @@ -64,6 +64,7 @@ modules = [ "sankaku", "seiga", "senmanga", + "sensescans", "spectrumnexus", "tumblr", "turboimagehost", diff --git a/gallery_dl/extractor/sensescans.py b/gallery_dl/extractor/sensescans.py new file mode 100644 index 00000000..b9a3cfcb --- /dev/null +++ b/gallery_dl/extractor/sensescans.py @@ -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))