[hiperdex] revert domain back to hiperdex.com

This commit is contained in:
Mike Fährmann 2020-04-27 20:42:31 +02:00
parent 233b6f93a2
commit a4fd620a25
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 15 additions and 15 deletions

View File

@ -48,7 +48,7 @@ HentaiFox https://hentaifox.com/ Galleries, Search Resul
HentaiHand https://hentaihand.com/ Galleries, Search Results, Tag Searches
HentaiHere https://hentaihere.com/ Chapters, Manga
Hentainexus https://hentainexus.com/ Galleries, Search Results
Hiperdex https://hiperdex.net/ Artists, Chapters, Manga
Hiperdex https://hiperdex.com/ Artists, Chapters, Manga
Hitomi.la https://hitomi.la/ Galleries, Tag Searches
Hypnohub https://hypnohub.net/ Pools, Popular Images, Posts, Tag Searches
Idol Complex https://idol.sankakucomplex.com/ Pools, Posts, Tag Searches Optional

View File

@ -6,7 +6,7 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
"""Extractors for https://hiperdex.net/"""
"""Extractors for https://hiperdex.com/"""
from .common import ChapterExtractor, MangaExtractor
from .. import text
@ -17,7 +17,7 @@ import re
class HiperdexBase():
"""Base class for hiperdex extractors"""
category = "hiperdex"
root = "https://hiperdex.net"
root = "https://hiperdex.com"
@memcache(keyarg=1)
def manga_data(self, manga, page=None):
@ -60,12 +60,12 @@ class HiperdexBase():
class HiperdexChapterExtractor(HiperdexBase, ChapterExtractor):
"""Extractor for manga chapters from hiperdex.net"""
pattern = (r"(?:https?://)?(?:www\.)?hiperdex\.(?:net|com)"
"""Extractor for manga chapters from hiperdex.com"""
pattern = (r"(?:https?://)?(?:www\.)?hiperdex\.(?:com|net)"
r"(/manga/([^/?&#]+)/([^/?&#]+))")
test = (
("https://hiperdex.net/manga/domestic-na-kanojo/154-5/", {
"pattern": r"https://hiperdex.net/wp-content/uploads"
("https://hiperdex.com/manga/domestic-na-kanojo/154-5/", {
"pattern": r"https://hiperdex.com/wp-content/uploads"
r"/WP-manga/data/manga_\w+/[0-9a-f]{32}/\d+\.webp",
"count": 9,
"keyword": {
@ -81,7 +81,7 @@ class HiperdexChapterExtractor(HiperdexBase, ChapterExtractor):
"type" : "Manga",
},
}),
("https://hiperdex.com/manga/domestic-na-kanojo/154-5/"),
("https://hiperdex.net/manga/domestic-na-kanojo/154-5/"),
)
def __init__(self, match):
@ -100,12 +100,12 @@ class HiperdexChapterExtractor(HiperdexBase, ChapterExtractor):
class HiperdexMangaExtractor(HiperdexBase, MangaExtractor):
"""Extractor for manga from hiperdex.net"""
"""Extractor for manga from hiperdex.com"""
chapterclass = HiperdexChapterExtractor
pattern = (r"(?:https?://)?(?:www\.)?hiperdex\.(?:net|com)"
pattern = (r"(?:https?://)?(?:www\.)?hiperdex\.(?:com|net)"
r"(/manga/([^/?&#]+))/?$")
test = (
("https://hiperdex.net/manga/youre-not-that-special/", {
("https://hiperdex.com/manga/youre-not-that-special/", {
"count": 51,
"pattern": HiperdexChapterExtractor.pattern,
"keyword": {
@ -122,7 +122,7 @@ class HiperdexMangaExtractor(HiperdexBase, MangaExtractor):
"type" : "Manhwa",
},
}),
("https://hiperdex.com/manga/youre-not-that-special/"),
("https://hiperdex.net/manga/youre-not-that-special/"),
)
def __init__(self, match):
@ -149,16 +149,16 @@ class HiperdexMangaExtractor(HiperdexBase, MangaExtractor):
class HiperdexArtistExtractor(HiperdexBase, MangaExtractor):
"""Extractor for an artists's manga on hiperdex.net"""
"""Extractor for an artists's manga on hiperdex.com"""
subcategory = "artist"
categorytransfer = False
chapterclass = HiperdexMangaExtractor
reverse = False
pattern = (r"(?:https?://)?(?:www\.)?hiperdex\.(?:net|com)"
pattern = (r"(?:https?://)?(?:www\.)?hiperdex\.(?:com|net)"
r"(/manga-a(?:rtist|uthor)/([^/?&#]+))")
test = (
("https://hiperdex.net/manga-artist/beck-ho-an/"),
("https://hiperdex.com/manga-artist/beck-ho-an/"),
("https://hiperdex.net/manga-artist/beck-ho-an/"),
("https://hiperdex.com/manga-author/viagra/", {
"pattern": HiperdexMangaExtractor.pattern,
"count": ">= 6",