[hiperdex] update URL patterns & fix 'manga' metadata (#5340)

This commit is contained in:
Mike Fährmann
2024-03-17 14:04:21 +01:00
parent 8e694d85c4
commit 26bc2d55f4
2 changed files with 13 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ from gallery_dl.extractor import hiperdex
__tests__ = (
{
"#url" : "https://hiperdex.com/manga/domestic-na-kanojo/154-5/",
"#url" : "https://hiperdex.com/mangas/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
"#pattern" : r"https://(1st)?hiperdex\d?.(com|net|info)/wp-content/uploads/WP-manga/data/manga_\w+/[0-9a-f]{32}/\d+\.webp",
@@ -27,6 +27,12 @@ __tests__ = (
"type" : "Manga",
},
{
"#url" : "https://hiperdex.com/manga/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
},
{
"#url" : "https://1sthiperdex.com/manga/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),