Skip to content

Instantly share code, notes, and snippets.

@Aphellirus
Created August 30, 2021 19:26
Show Gist options
  • Save Aphellirus/34a3310fbb4c13d3ed295fb50e90df5c to your computer and use it in GitHub Desktop.
Save Aphellirus/34a3310fbb4c13d3ed295fb50e90df5c to your computer and use it in GitHub Desktop.
Helps to download google drive files with ease πŸŽ‰
# Installing the Package:
pip install googleDriveFileDownloader
# Sample code:
from googleDriveFileDownloader import googleDriveFileDownloader
gdownloader = googleDriveFileDownloader()
gdownloader.downloadFile("https://drive.google.com/uc?id=1O4x8rwGJAh8gRo8sjm0kuKFf6vCEm93G&export=download")
# You can also provide a custom file name:
gdownloader.downloadFile("https://drive.google.com/uc?id=1O4x8rwGJAh8gRo8sjm0kuKFf6vCEm93G&export=download","NewFile.zip")
# It will automatically save the file in your local directory with the name provided in the custom file name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment