Created
August 30, 2021 19:26
-
-
Save Aphellirus/34a3310fbb4c13d3ed295fb50e90df5c to your computer and use it in GitHub Desktop.
Helps to download google drive files with ease π
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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