1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00
gallery-dl/test/results/hiperdex.py
2024-05-24 17:13:10 +02:00

149 lines
4.3 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
# 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.
from gallery_dl.extractor import hiperdex
__tests__ = (
{
"#url" : "https://hiperdex.com/manga/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
"#pattern" : r"https://(1st)?hiperdex\d?.(com|net|info|top)/wp-content/uploads/WP-manga/data/manga_\w+/[0-9a-f]{32}/\d+\.webp",
"#count" : 9,
"artist" : "Sasuga Kei",
"author" : "Sasuga Kei",
"chapter" : 154,
"chapter_minor": ".5",
"description" : r"re:Natsuo Fujii is in love with his teacher, ",
"genre" : list,
"manga" : "Domestic na Kanojo",
"release" : 2014,
"score" : float,
"type" : "Manga",
},
{
"#url" : "https://hiperdex.com/mangas/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
},
{
"#url" : "https://1sthiperdex.com/manga/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
},
{
"#url" : "https://hiperdex2.com/manga/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
},
{
"#url" : "https://hiperdex.net/manga/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
},
{
"#url" : "https://hiperdex.info/manga/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
},
{
"#url" : "https://hiperdex.top/manga/domestic-na-kanojo/154-5/",
"#category": ("", "hiperdex", "chapter"),
"#class" : hiperdex.HiperdexChapterExtractor,
},
{
"#url" : "https://hiperdex.com/manga/1603231576-youre-not-that-special/",
"#category": ("", "hiperdex", "manga"),
"#class" : hiperdex.HiperdexMangaExtractor,
"#pattern" : hiperdex.HiperdexChapterExtractor.pattern,
"#count" : 51,
"artist" : "Bolp",
"author" : "Abyo4",
"chapter" : int,
"chapter_minor": "",
"description" : r"re:I didnt think much of the creepy girl in ",
"genre" : list,
"manga" : "Youre Not That Special!",
"release" : 2019,
"score" : float,
"status" : "Completed",
"type" : "Manhwa",
},
{
"#url" : "https://hiperdex.com/manga/youre-not-that-special/",
"#category": ("", "hiperdex", "manga"),
"#class" : hiperdex.HiperdexMangaExtractor,
},
{
"#url" : "https://1sthiperdex.com/manga/youre-not-that-special/",
"#category": ("", "hiperdex", "manga"),
"#class" : hiperdex.HiperdexMangaExtractor,
},
{
"#url" : "https://hiperdex2.com/manga/youre-not-that-special/",
"#category": ("", "hiperdex", "manga"),
"#class" : hiperdex.HiperdexMangaExtractor,
},
{
"#url" : "https://hiperdex.net/manga/youre-not-that-special/",
"#category": ("", "hiperdex", "manga"),
"#class" : hiperdex.HiperdexMangaExtractor,
},
{
"#url" : "https://hiperdex.info/manga/youre-not-that-special/",
"#category": ("", "hiperdex", "manga"),
"#class" : hiperdex.HiperdexMangaExtractor,
},
{
"#url" : "https://1sthiperdex.com/manga-artist/beck-ho-an/",
"#category": ("", "hiperdex", "artist"),
"#class" : hiperdex.HiperdexArtistExtractor,
},
{
"#url" : "https://hiperdex.net/manga-artist/beck-ho-an/",
"#category": ("", "hiperdex", "artist"),
"#class" : hiperdex.HiperdexArtistExtractor,
},
{
"#url" : "https://hiperdex2.com/manga-artist/beck-ho-an/",
"#category": ("", "hiperdex", "artist"),
"#class" : hiperdex.HiperdexArtistExtractor,
},
{
"#url" : "https://hiperdex.info/manga-artist/beck-ho-an/",
"#category": ("", "hiperdex", "artist"),
"#class" : hiperdex.HiperdexArtistExtractor,
},
{
"#url" : "https://hiperdex.com/manga-author/viagra/",
"#category": ("", "hiperdex", "artist"),
"#class" : hiperdex.HiperdexArtistExtractor,
"#pattern" : hiperdex.HiperdexMangaExtractor.pattern,
"#count" : ">= 6",
},
)