Skip to content

Bulk asynchronous downloader for multiple file hosts

1.4 KB
Raw Blame
DOMAIN = "naughtymachinima"
TEST_CASES = [
    {
        "url": "https://www.naughtymachinima.com/video/115787/dexters-mom-side-slam-radroachhd",
        "results": [
            {
                "url": "https://videos.naughtymachinima.com/media/videos/h264/115787_1080p.mp4",
                "filename": "Dexters Mom Side Slam RadRoachHD [115787][1080p].mp4",
                "debrid_url": None,
                "original_filename": "Dexters Mom Side Slam RadRoachHD",
                "referer": "https://www.naughtymachinima.com/video/115787/dexters-mom-side-slam-radroachhd",
                "album_id": None,
                "uploaded_at": 1771003500,
                "download_folder": "re:Loose Files (Naughtymachinima)",
            }
        ],
        "count": 1,
    },
    {
        "url": "https://www.naughtymachinima.com/album/11382/releasing-some-monday-tensions-with-benjohn",
        "results": [
            {
                "url": "https://videos.naughtymachinima.com/media/photos/141114.jpg",
                "filename": "141114.jpg",
                "original_filename": "141114.jpg",
                "album_id": "11382",
                "uploaded_at": None,
                "referer": "https://www.naughtymachinima.com/album/11382/releasing-some-monday-tensions-with-benjohn",
                "download_folder": "re:Releasing some Monday tensions with BenJohn (Naughtymachinima)",
            },
        ],
        "count": 16,
    },
]