diff --git a/docs/supportedsites.md b/docs/supportedsites.md index f5e652f4..cd509051 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -391,12 +391,6 @@ Consider all sites to be NSFW unless otherwise known. Chapters, Manga - - Manga Stream - https://readms.net/ - Chapters - - MangaDex https://mangadex.org/ diff --git a/gallery_dl/extractor/__init__.py b/gallery_dl/extractor/__init__.py index 16dd4fd4..9cea8510 100644 --- a/gallery_dl/extractor/__init__.py +++ b/gallery_dl/extractor/__init__.py @@ -70,7 +70,6 @@ modules = [ "mangahere", "mangakakalot", "mangapark", - "mangastream", "mangoxo", "myhentaigallery", "myportfolio", diff --git a/gallery_dl/extractor/mangastream.py b/gallery_dl/extractor/mangastream.py deleted file mode 100644 index 7ff0239c..00000000 --- a/gallery_dl/extractor/mangastream.py +++ /dev/null @@ -1,54 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright 2015-2019 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://readms.net/""" - -from .common import ChapterExtractor -from .. import text - - -class MangastreamChapterExtractor(ChapterExtractor): - """Extractor for manga-chapters from mangastream.com""" - category = "mangastream" - archive_fmt = "{chapter_id}_{page}" - pattern = (r"(?:https?://)?(?:www\.)?(?:readms\.net|mangastream\.com)" - r"/r(?:ead)?/([^/]*/([^/]+)/(\d+))") - test = ( - ("https://readms.net/r/onepunch_man/087/4874/1"), - ("https://mangastream.com/r/onepunch_man/087/4874/1"), - ) - root = "https://readms.net" - - def __init__(self, match): - self.part, self.chapter, self.chapter_id = match.groups() - url = "{}/r/{}".format(self.root, self.part) - ChapterExtractor.__init__(self, match, url) - - def metadata(self, page): - manga, pos = text.extract( - page, '