Batch download files from Google Drive
- Setup Python on your system
- Create a new Google Drive project
- Create an OAuth 2 Client ID from here and download the resulting json file. Rename it to
client_secret.json
- Move both the scripts from this repo and the downloaded json file to a single directory
- Open
create_download_list.py
and replaceEnter folder ID here
with the folder ID you want to download - Save and run
create_download_list.py
- If you are running the script for the first time, it will open your browser window and ask you to grant permissions to you app. Click on
Advanced
and proceed to grant the permission. Re-runcreate_download_list.py
- You will end up with
filesList.txt
in your current directory. You can modify this file to remove the files you don't want to download - Run
download_files.py
and wait for the download to complete!