• Stars
    star
    193
  • Rank 201,081 (Top 4 %)
  • Language
    Python
  • Created about 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Download files from Google Drive using Python 2 or Python 3

Download files from Google Drive using Python 2 or Python 3

Guide for usage:

In your terminal, run the command:

python download_gdrive.py GoogleFileID /path/for/this/file/to/download/file.zip

Example:

If the download link looks like below, the GoogleFileID is 0Bz7KyqmuGsilT0J5dmRCM0ROVHc https://drive.google.com/uc?export=download&confirm=1o_3&id=0Bz7KyqmuGsilT0J5dmRCM0ROVHc

If the path for this file to download is /home/ubuntu/myfile/file.zip then the command you should run is python download_gdrive.py 0Bz7KyqmuGsilT0J5dmRCM0ROVHc /home/ubuntu/myfile/file.zip

Credited to

Stack Overflow Link

Author