Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
DOMAIN = "mega.nz"
TEST_CASES = [
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q",
"results": [
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/bFtTwQ6a",
"filename": "dreadpirate - no blu not orange.zip",
"original_filename": "dreadpirate - no blu not orange.zip",
"referer": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/bFtTwQ6a",
"album_id": "yAkimbjQ",
"uploaded_at": 1752175237,
"download_folder": "re:s4cc-lm (MegaNz)/1.116.223.1030 - enchanted by nature",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/bI1AFKCB",
"filename": "dreadpirate - no blu not orange.zip",
"referer": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/bI1AFKCB",
"uploaded_at": 1759516939,
"download_folder": "re:s4cc-lm (MegaNz)/1.118.242.1030 - adventure awaits",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/CY0nyZaB",
"filename": "brntwaffles - astral lights.zip",
"referer": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/CY0nyZaB",
"uploaded_at": 1752175007,
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/GINRhSDb",
"filename": "softerhaze - milk-thistle.zip",
"uploaded_at": 1653836296,
"download_folder": "re:s4cc-lm (MegaNz)",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/iAkm0KwY",
"filename": "brntwaffles - astral lights.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/iY9zGKqT",
"filename": "softerhaze - moonglow.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/KFlyhSxI",
"filename": "softerhaze - moonglow.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/KV0WCQJb",
"filename": "softerhaze - twinkle toes.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/LAF2TJ4T",
"filename": "brntwaffles - no blu.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/LQ0mmarA",
"filename": "softerhaze - moonglow.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/PN1CRYbZ",
"filename": "softerhaze - twinkle toes.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/qVsXQLKJ",
"filename": "dreadpirate - no blu not orange.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/rI1WSJCD",
"filename": "softerhaze - twinkle toes.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/TU0CAJDZ",
"filename": "brntwaffles - no blu.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/WUUhkRZS",
"filename": "brntwaffles - astral lights.zip",
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/zZ92wS4Y",
"filename": "brntwaffles - no blu.zip",
},
],
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/bFtTwQ6a",
"description": "single file within folder",
"results": [
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/bFtTwQ6a",
"filename": "dreadpirate - no blu not orange.zip",
"original_filename": "dreadpirate - no blu not orange.zip",
"referer": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file/bFtTwQ6a",
"album_id": "yAkimbjQ",
"uploaded_at": 1752175237,
"download_folder": "re:s4cc-lm (MegaNz)/1.116.223.1030 - enchanted by nature",
}
],
},
{
"url": "https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/folder/zJkgxYia",
"description": "subfolder within folder",
"results": [
{
"url": "re:https://mega.nz/folder/yAkimbjQ#Ijoqfoqzesat1LDq5NKc-Q/file",
"download_folder": "re:s4cc-lm (MegaNz)/1.118.242.1030 - adventure awaits",
}
],
"count": 5,
},
]