An API-less downloader for Google Drive, Dropbox, MediaFire, and WeTransfer links.
- Python 3
- Works on all operating systems
- No API keys / credentials needed
- Auto extracts .zip files
- Auto extracts .rar files (requires 7zip)
- Removes compressed files after extraction
import lootdl
url1 = "https://drive.google.com/file/d/.../view?usp=sharing"
url2 = "https://www.dropbox.com/s/.../...?dl=0"
url3 = "https://www.mediafire.com/file/.../.../file"
url4 = "https://wetransfer.com/downloads/.../..."
download_list = [url1, url2, url3, url4]
download_path = "./Downloads/"
for url in download_list:
lootdl.grab(url, download_path)
Google Drive
https://drive.google.com/drive/folders/...?usp=sharing
https://drive.google.com/file/d/.../view?usp=sharing
Dropbox
https://www.dropbox.com/s/.../...?dl=0
https://www.dropbox.com/s/.../...?dl=1
https://www.dropbox.com/sh/.../...?dl=0
https://www.dropbox.com/sh/.../...?dl=1
MediaFire
https://www.mediafire.com/file/.../.../file
WeTransfer
https://wetransfer.com/downloads/.../...
- Google Drive
- Dropbox
- MediaFire
- WeTransfer
- Mega
Code was borrowed from gdrivedl, mediafire-dl, and transferwee to create lootdl.