Skip to main content

Python library that allows you to parse Google Drive & Dropbox links and download files

Project description

clouddl

Downloader for Google Drive & DropBox

  • Python 3
  • Works on all operating systems
  • No API keys / credentials needed
  • Auto extracts .zip files
  • Auto extracts .rar files (requires 7zip)
  • Auto deletes compressed files after extraction

Installation

pip install clouddl

Usage

from clouddl import grab

# grab(url, folder_path)
grab('https://drive.google.com/file/d/.../view?usp=sharing', './Downloads/')

Verbose

from clouddl import grab
#grab(url, folder_path, quiet=False)
grab('https://drive.google.com/file/d/.../view?usp=sharing', './Downloads/', quiet=False)

Bulk Usage

from clouddl import grab

download_list = ['URL1', 'URL2', 'URL3']

for url in download_list:
 grab(url, './')

Variable Access

from clouddl import DROPBOX_URL, GDRIVE_URL

Supported URLs

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

Acknowledgements

Thank you to the authors of the following repos:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clouddl-0.5.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

clouddl-0.5.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page