Skip to content

Download files from Google Drive using Python 2 or Python 3

Notifications You must be signed in to change notification settings

davidggphy/download_google_drive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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

About

Download files from Google Drive using Python 2 or Python 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%