Skip to content

Bulk asynchronous downloader for multiple file hosts

1.4 KB
Raw Blame
DOMAIN = "music.octavestreaming"
TEST_CASES = [
    {
        "url": "https://music.octavestreaming.com/album/983236081?t=4022917771",
        "results": [
            {
                "url": "https://music.octavestreaming.com/album/983236081?t=4022917771",
                "filename": "Drake - Janice STFU.mp3",
                "debrid_url": "re:https://api.octavestreaming.com/audio/320?track=4022917771&k=",
                "original_filename": "Drake - Janice STFU.mp3",
                "referer": "https://music.octavestreaming.com/album/983236081?t=4022917771",
                "album_id": None,
                "uploaded_at": 1778821200,
                "download_folder": "re:Loose Files (OctaveMusic)",
            }
        ],
        "count": 1,
    },
    {
        "url": "https://music.octavestreaming.com/album/983217461",
        "results": [
            {
                "url": "https://cdn-images.dzcdn.net/images/cover/a3c0b45062f3987b928b13cd6122f443/1000x1000-000000-80-0-0.jpg",
                "filename": "cover [983217461].jpg",
                "debrid_url": None,
                "original_filename": "1000x1000-000000-80-0-0.jpg",
                "referer": "https://music.octavestreaming.com/album/983217461",
                "album_id": None,
                "uploaded_at": None,
                "download_folder": "re:HABIBTI (OctaveMusic)",
                "thumbnail": None,
            },
        ],
        "count": 12,
    },
]