Skip to content

Bulk asynchronous downloader for multiple file hosts

590 B
Raw Blame
DOMAIN = "nhentai.net"
TEST_CASES = [
    {
        "url": "https://nhentai.net/g/363796/",
        "results": [
            {
                "url": "re:nhentai.net/galleries/1941242/",
                "referer": "https://nhentai.net/g/363796",
                "album_id": "363796",
                "uploaded_at": 1624512830,
            }
        ],
        "count": 25,
    },
    {
        "url": "https://nhentai.net/artist/tamabi/",
        "results": [{"url": "re:nhentai.net/galleries/", "download_folder": "re:tamabi \\[artist\\] \\(nHentai\\)/"}],
        "count": 8658,
    },
]