This Python script generates direct download links for files hosted on Google Drive. It makes use of the Google Drive API to retrieve the file ID and generate a URL that can be used to download the file directly, bypassing the Google Drive web interface.
To use this script, follow these steps:
- Clone or download the repository to your local machine.
- Open the script in your favorite Python IDE or text editor.
- Make sure your file's visibility in Google Drive is set to "Anyone with the link".
- Copy the sharing URL for your file.
- Run the script and paste the sharing URL when prompted.
- The script will generate a direct download link for your file and display it on the console.
- If you want to download the file right away, type 'Y' when prompted. Otherwise, type 'N'.
If you have any questions or suggestions, feel free to contact the developer:
- Name: Majd Sassi
- Email: jackreider997@gmail.com
Thank you for using our script!