wkentaro / gdown

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

Download error in shareable files for all #222

Closed rmcpantoja closed 1 year ago

rmcpantoja commented 1 year ago

Provide environment information

gdown


!pip install --upgrade gdown Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Requirement already satisfied: gdown in /usr/local/lib/python3.7/dist-packages (4.4.0) Collecting gdown Downloading gdown-4.5.3.tar.gz (14 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Requirement already satisfied: requests[socks] in /usr/local/lib/python3.7/dist-packages (from gdown) (2.23.0) Requirement already satisfied: filelock in /usr/local/lib/python3.7/dist-packages (from gdown) (3.8.0) Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from gdown) (4.6.3) Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (from gdown) (4.64.1) Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from gdown) (1.15.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (2.10) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (2022.9.24) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (1.24.3) Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/local/lib/python3.7/dist-packages (from requests[socks]->gdown) (1.7.1) Building wheels for collected packages: gdown Building wheel for gdown (PEP 517) ... done Created wheel for gdown: filename=gdown-4.5.3-py3-none-any.whl size=14840 sha256=fdaea97d99cdc8974543d3ebb8a8a68152e8d1f7d9f1309bc7f42375ba891c8a Stored in directory: /root/.cache/pip/wheels/94/8d/0b/bdcd83555c3555f91a33f6c2384428d9f163c7d75ab0d272b4 Successfully built gdown Installing collected packages: gdown Attempting uninstall: gdown Found existing installation: gdown 4.4.0 Uninstalling gdown-4.4.0: Successfully uninstalled gdown-4.4.0 Successfully installed gdown-4.5.3

Error:

!gdown 1l1m7_TJT_lNODrB7Ex7IL1Sl86Hiqwtq 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:

 https://drive.google.com/uc?id=1l1m7_TJT_lNODrB7Ex7IL1Sl86Hiqwtq 

What OS are you using?

Ubuntu (Google colab version)

Describe the Bug

Cheers, In the last few hours Gdown is not able to download any files from drive, even though access to the file is set to share with anyone who has the link. This problem is confirmed as other users have it too when downloading. Specifically, by running gdown.download or the gdown command at a command prompt.

Expected Behavior

File download expected

To Reproduce

This is a screenshot I've taken, trying to download a file from Google Drive with gdown.

mexico76 commented 1 year ago

Have the same problem. File size less then 1Gb.

NPap0 commented 1 year ago

Encountered the same issue when I accidentally deleted a file then re-uploaded right after(Had it in my storage for a month before). Got a new ID but this time I get the error. File is around 500MB. ^If you download the file manually via link you get the prompt that the file is too big for the anti-virus to scan. (https://github.com/wkentaro/gdown/pull/224 I've used this solution to fix the issue)

shinzopro commented 1 year ago

i'm in trouble too https://github.com/wkentaro/gdown/pull/224 I've been using gdown on colab as part of my naive artistic enjoyment. If I wait for the approval of this #224 revision, will gdown start working again with the same code as before?🥺 I have already moved some files to the hugging face and wget

upright2003 commented 1 year ago

What spaces are available to use wget ?

wkentaro commented 1 year ago

Closed via https://github.com/wkentaro/gdown/issues/222

wkentaro commented 1 year ago

Released v4.5.4!

pip install gdown==4.5.4 --no-cache-dir
image
rmcpantoja commented 6 months ago

And now the same thing is repeated. With the current version of gdown cannot download these files either.

lehuyduc commented 6 months ago

Can also confirm that it just happened again.