circulosmeos / gdown.pl

Google Drive direct download of big files
https://circulosmeos.wordpress.com/2014/04/12/google-drive-direct-download-of-big-files
GNU General Public License v3.0
937 stars 196 forks source link

gdown.pl does not resume instead re-downloads all over again #22

Closed avatar-lavventura closed 3 years ago

avatar-lavventura commented 3 years ago

When I try $ ./gdown.pl https://drive.google.com/file/d/0B1L_hFrWJfRhLUJZdXdSdTdfSWs/edit axolotl.mp4 after it downloaded the file, it starts downloading the same file all over again.

Seems like resume operation does not work on my end, what may be the reason? It keeps generating files as gdown.2020... with different name.

circulosmeos commented 3 years ago

Hi @avatar-lavventura, Yes, it seems that something has changed in Google Drive's HTTP behaviour since I last coded with-resume version !

I've just patched the code to v2.1: please, check that everything runs ok now, and that downloads are resumed :-)

avatar-lavventura commented 3 years ago

@circulosmeos Thanks for the quick reply it runs ok and downloads are resumed, thanks!

rrjanbiah commented 3 years ago

FWIW

I was looking for some solutions to download large Google Drive files (RAR files) with resume option and stumbled upon few tools:

  1. youtube-dl - Tried, but didn't work with RAR files. Error message suggests that it may work with the video files
  2. https://github.com/wkentaro/gdown - found some notes that it doesn't support resume and so skipped
  3. gdown.pl - tried resume branch. First few attempts, it saved only the HTML and then suddenly started to work. So, again searched for other tools.
  4. https://github.com/taewookim/wget_gdrive - worked consistently. But, it didn't have resume function and I had to patch/PR with the --continue flag. Perhaps, you may get some idea from here. My 2 cents.
circulosmeos commented 3 years ago

Hi @rrjanbiah gdown.pl branch resume should resume ok :-) If you see some issue don't hesitate to open an issue to patch it! Greetings!