Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

clouddl

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clouddl

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

pipPyPI
Version
0.5.0
Maintainers
1

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:

  • "gdrivedl" by matthuisman - https://github.com/matthuisman/gdrivedl
  • "lootdl" by jesusyanez - https://github.com/jesusyanez/lootdl

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts