~/Tests$ python --version
Python 3.10.8
~/Tests$ python -m pip list | grep gdown
gdown 4.7.1
~/Tests$ which python
/home/runner/Tests/venv/bin/python
What OS are you using?
Ubuntu 20.04.2 LTS (Focal Fossa)
Describe the Bug
I use Replit to run a script with downloading a docx file that was uploaded to Google Drive. File is changing every week. For about three months, everything had worked well. But then files have started downloading such that word can't open them. I even tried to download folder with the file, but it still turns out to be broken. The file downloaded manually opens normally.
Expected Behavior
File downloaded by Gdown opens normally
To Reproduce
Upload not empty docx file to Google Drive, get file's id
On Repl add required packages and create a script, which contains smth like
import gdownid2 = "ID from step 1"output = 'tt.docx'gdown.download(id=id2, output=output, quiet=False, format = 'docx')
Run your repl and try to open downloaded file via Word (or any open source analogue)
Provide environment information
~/Tests$ python --version Python 3.10.8 ~/Tests$ python -m pip list | grep gdown gdown 4.7.1 ~/Tests$ which python /home/runner/Tests/venv/bin/python
What OS are you using?
Ubuntu 20.04.2 LTS (Focal Fossa)
Describe the Bug
I use Replit to run a script with downloading a docx file that was uploaded to Google Drive. File is changing every week. For about three months, everything had worked well. But then files have started downloading such that word can't open them. I even tried to download folder with the file, but it still turns out to be broken. The file downloaded manually opens normally.
Expected Behavior
File downloaded by Gdown opens normally
To Reproduce
import gdown
id2 = "ID from step 1"
output = 'tt.docx'
gdown.download(id=id2, output=output, quiet=False, format = 'docx')
Example file top_secret_file.docx