wkentaro / gdown

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

gdown connection broken #350

Open tungyen opened 6 months ago

tungyen commented 6 months ago

Provide environment information

python 3.9.19; gdown 5.1.0

What OS are you using?

Ubuntu 22.04.4

Describe the Bug

My download process ended without finishing with a warning when I tried to download a file from Google Drive ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))

Expected Behavior

The download should be complete without error since I already typed the correct link.

To Reproduce

pip install gdown gdown 'https://drive.google.com/uc?id=1TrLUst-nKusa7S-AeQWX5_3bc6q4H64-'

wkentaro commented 6 months ago

@tungyen Looks like it is an internet disconnection. You can resume the download by gdown --continue.

lefteryx commented 5 months ago

My downloads keep stopping at 3605 seconds (they give the same error). Could this be a default timeout issue? Is there a method to override this somehow? Thanks!

Yang-Xijie commented 4 months ago

Hi, @lefteryx , I can confirm this behavior of Google Drive. With downloading speed 6 MB/s, downloading each 20 GB (3600*6=21600) will cause a fail in Chrome. Though I can resume it by manually click the "resume" button, it will completely fail after several resumes.

I'm now trying downloading the file using gdown.

Yang-Xijie commented 4 months ago

related issue: https://github.com/wkentaro/gdown/issues/329 https://github.com/wkentaro/gdown/issues/289 https://github.com/wkentaro/gdown/issues/265

lefteryx commented 4 months ago

Oh that makes perfect sense, thanks for your response!