/download_google_drive

Download files from Google Drive using Python 2 or Python 3

Primary LanguagePython

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