wkentaro / gdown

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

Unable to download big files #159

Closed joangog closed 2 years ago

joangog commented 2 years ago

I'm trying to download a file with size 200 MB using gdown in Google Colab. This doesn't happen with small files (e.g. ~10MB).

The command I ran:

!gdown -O 'images.rar' --id 'insert_id_here'

The following error appears:

Traceback (most recent call last): File "/usr/local/bin/gdown", line 8, in sys.exit(main()) File "/usr/local/lib/python3.7/dist-packages/gdown/cli.py", line 61, in main quiet=args.quiet, File "/usr/local/lib/python3.7/dist-packages/gdown/download.py", line 52, in download res = sess.get(url, stream=True) File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 543, in get return self.request('GET', url, **kwargs) File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 516, in request prep = self.prepare_request(req) File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 459, in prepare_request hooks=merge_hooks(request.hooks, self.hooks), File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 314, in prepare self.prepare_url(url, params) File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 388, in prepare_url raise MissingSchema(error) requests.exceptions.MissingSchema: Invalid URL '': No schema supplied. Perhaps you meant http://?

wkentaro commented 2 years ago

Can you provide an example file? (Can be via an email)

joangog commented 2 years ago

Can you provide an example file? (Can be via an email)

Just sent you an email thanks!

joangog commented 2 years ago

I upgraded to version 4.3.0 and it worked

wkentaro commented 2 years ago

🎉