Skip to content

Commit

Permalink
[mangareader] use 'https://'
Browse files Browse the repository at this point in the history
The site now redirects from http://mangareader.net/
to https://mangareader.net/
  • Loading branch information
mikf committed Mar 2, 2018
1 parent 1d71123 commit 6e38cf5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions docs/supportedsites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ Luscious https://luscious.net/ Albums
Manga Fox http://fanfox.net/ Chapters
Manga Here http://www.mangahere.co/ Chapters, Manga
Manga Stream https://mangastream.com/ Chapters
Mangapanda http://www.mangapanda.com/ Chapters, Manga
Mangapanda https://www.mangapanda.com/ Chapters, Manga
MangaPark https://mangapark.me/ Chapters, Manga
Mangareader http://www.mangareader.net/ Chapters, Manga
Mangareader https://www.mangareader.net/ Chapters, Manga
nhentai https://nhentai.net/ Galleries
Niconico Seiga http://seiga.nicovideo.jp Images from Users, individual Images Required
nijie https://nijie.info/ Images from Users, individual Images Required
Expand Down
12 changes: 6 additions & 6 deletions gallery_dl/extractor/mangapanda.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.

"""Extract manga-chapters and entire manga from http://www.mangapanda.com/"""
"""Extract manga-chapters and entire manga from https://www.mangapanda.com/"""

from .mangareader import MangareaderMangaExtractor, MangareaderChapterExtractor


class MangapandaBase():
"""Base class for mangapanda extractors"""
category = "mangapanda"
root = "http://www.mangapanda.com"
root = "https://www.mangapanda.com"


class MangapandaMangaExtractor(MangapandaBase, MangareaderMangaExtractor):
"""Extractor for manga from mangapanda.com"""
pattern = [r"(?:https?://)?((?:www\.)?mangapanda\.com/[^/?&#]+)/?$"]
test = [("http://www.mangapanda.com/mushishi", {
"url": "50a1ba730b85426b904da256c80f68ba6a8a2566",
test = [("https://www.mangapanda.com/mushishi", {
"url": "357f965732371cac1990fee8b480f62e29141a42",
"keyword": "031b3ea085921c552de017ecbb9b906e462229c9",
})]

Expand All @@ -33,7 +33,7 @@ class MangapandaChapterExtractor(MangapandaBase, MangareaderChapterExtractor):
(r"(?:https?://)?(?:www\.)?mangapanda\.com"
r"(/\d+-\d+-\d+(/[^/]+)/chapter-(\d+)\.html)"),
]
test = [("http://www.mangapanda.com/red-storm/2", {
"url": "4bf4ddf6c50105ec8a37675495ab80c46608275d",
test = [("https://www.mangapanda.com/red-storm/2", {
"url": "1f633f776e950531ba9b1e81965316458e785261",
"keyword": "32b5e84017c2bf5f122b339ecf40899e41f18cc9",
})]
12 changes: 6 additions & 6 deletions gallery_dl/extractor/mangareader.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.

"""Extract manga-chapters and entire manga from http://www.mangareader.net/"""
"""Extract manga-chapters and entire manga from https://www.mangareader.net/"""

from .common import ChapterExtractor, MangaExtractor
from .. import text, util
Expand All @@ -15,7 +15,7 @@
class MangareaderBase():
"""Base class for mangareader extractors"""
category = "mangareader"
root = "http://www.mangareader.net"
root = "https://www.mangareader.net"

@staticmethod
def parse_page(page, data):
Expand All @@ -36,8 +36,8 @@ class MangareaderMangaExtractor(MangareaderBase, MangaExtractor):
"""Extractor for manga from mangareader.net"""
pattern = [r"(?:https?://)?((?:www\.)?mangareader\.net/[^/?&#]+)/?$"]
reverse = False
test = [("http://www.mangareader.net/mushishi", {
"url": "249042420b67a07b32e7f6be4c7410b6d810b808",
test = [("https://www.mangareader.net/mushishi", {
"url": "bc203b858b4ad76e5d77e39118a7be0350e357da",
"keyword": "031b3ea085921c552de017ecbb9b906e462229c9",
})]

Expand Down Expand Up @@ -65,9 +65,9 @@ class MangareaderChapterExtractor(MangareaderBase, ChapterExtractor):
(r"(?:https?://)?(?:www\.)?mangareader\.net"
r"(/\d+-\d+-\d+(/[^/]+)/chapter-(\d+)\.html)"),
]
test = [(("http://www.mangareader.net/"
test = [(("https://www.mangareader.net/"
"karate-shoukoushi-kohinata-minoru/11"), {
"url": "84ffaab4c027ef9022695c53163c3aeabd07ca58",
"url": "061cc92a07edf17bb991ce0821fa4c77a147a860",
"keyword": "2893cfcd1916859fb498f3345f1929f868fe667f",
})]

Expand Down

0 comments on commit 6e38cf5

Please sign in to comment.