wkentaro / gdown

Google Drive Public File Downloader when Curl/Wget Fails
MIT License
4.22k stars 348 forks source link

gdown Stopped Working about 20+ Hours Ago #292

Closed gerickson closed 8 months ago

gerickson commented 8 months ago

Provide environment information

/usr/bin/python
Python 2.7.18
/usr/bin/python: No module named pip

What OS are you using?

Linux / Ubuntu 20.04.6 LTS

Describe the Bug

Running gdown 4.4.0 and 4.7.1 against a "Anyone with the Link" Google Drive file stopped working in the last 20 or so hours with the error:

Access denied with the following error:

    Cannot retrieve the public link of the file. You may need to change
    the permission to 'Anyone with the link', or have had many accesses. 

You may still be able to access the file from the browser:

    ...

This Stack Overflow user and post seemed to find a workaround in gdown 4.6.0.

The browser did / does work.

Expected Behavior

The gdown request succeeds without error.

To Reproduce

$ gdown <url> --output <path>
ShpihanVlad commented 8 months ago

Facing the same issue, 4.6.0 worked

inkhey commented 8 months ago

Hello, I'm getting the same issue. 4.6.3 is ok, but 4.6.4 is broken. I do suspect the headers added there: https://github.com/wkentaro/gdown/commit/193e1f818635e63c6772311457083efc546f020a.

elvintoh82 commented 8 months ago

Concur that 4.7.1 has this same issue for me. individual files seems to work, but if it is a folder, it will produce the same error.

Rhobar664 commented 8 months ago

Kiedy zacznie działać to jak było dawniej

wkentaro commented 8 months ago

Hey guys. Sorry for being late (I missed the notifications), but this should be fixed now via https://github.com/wkentaro/gdown/pull/295 and the latest release.