Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to download the complete file #355

Open
luoyuchenmlcv opened this issue May 8, 2024 · 2 comments
Open

unable to download the complete file #355

luoyuchenmlcv opened this issue May 8, 2024 · 2 comments
Labels
bug for issue

Comments

@luoyuchenmlcv
Copy link

Provide environment information

Python 3.9.19
gdown 5.1.0

What OS are you using?

Ubuntu 20.04.4

Describe the Bug

https://drive.google.com/file/d/1ZrvSHklXiGYhpiVoxUH8FWc5k0fv2xVZ/view

https://drive.usercontent.google.com/download?id=1ZrvSHklXiGYhpiVoxUH8FWc5k0fv2xVZ&export=download&authuser=0

image
image

Expected Behavior

The file is 15Gb, however only 3.81k is downloaded and shown as complete.

To Reproduce

gdown https://drive.google.com/file/d/1ZrvSHklXiGYhpiVoxUH8FWc5k0fv2xVZ/view

gdown https://drive.usercontent.google.com/download?id=1ZrvSHklXiGYhpiVoxUH8FWc5k0fv2xVZ&export=download&authuser=0

@luoyuchenmlcv luoyuchenmlcv added the bug for issue label May 8, 2024
@luoyuchenmlcv
Copy link
Author

the downloaded file is HTML file, how can I download this file using gdown==5.1.0

@sergeevabc
Copy link

Aggrrhh.

$ gdown https://drive.google.com/file/d/0B0d9ZiqAgFkiOHR1NTJhWVJMNEU/view?resourcekey=0-3WcVUCySTS9ajn1UWHrmtA

\Python\Lib\site-packages\gdown\parse_url.py:48: UserWarning: You specified a Google Drive link that is not the correct link to download a file. You might want to try `--fuzzy` option or the following url: https://drive.google.com/uc?id=0B0d9ZiqAgFkiOHR1NTJhWVJMNEU
  warnings.warn(
Error:

        [Errno 22] Invalid argument:
        'view?resourcekey=0-3WcVUCySTS9ajn1UWHrmtAjxnrt18ytmp'

$ gdown https://drive.google.com/file/d/0B4FkkLP2MB8kMDRiNDkxOGEtMDhmNC00NzJjLThkNzQtZDc0MDNlNWVhZjk1/view?resourcekey=0-k2XR2jyQonn-pTD8ndivgA

Error:

        [Errno 22] Invalid argument: 'view?resourcekey=0-k2XR2jyQonn-
        pTD8ndivgA4cqishhttmp'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug for issue
Projects
None yet
Development

No branches or pull requests

2 participants