Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Download Google Drive files with WGET
Download Google Drive files with WGET
Example Google Drive download link:[ID]
To download the file with WGET you need to use this link:[ID]
Example WGET command:
wget -O file[ID]
Copy link

obrigado a todos,
wget --no-check-certificate ' ' -O FILENAME não funcionou para mim para o arquivo .rar, mas adicionar a opção de nova tentativa fez com que funcionasse
isso funcionou. obrigado
wget --no-check-certificate -r ' ' -O FILENAME

@oguntola2018 perfeito!

Hello @maxsnet and members!

I see many members who report success in the "wget" command.
I’ve been trying for two days and I haven’t succeeded.

The file that is in Google Drive is: which I also changed to D_mega_2.rar

My shared link to any person is:

I made the indicated change and created a batch file conc.bat:

wget --no-check-certificate -r -O

When executing I have the following answer:

--2021-05-27 20: 06: 31--
Resolving ( ... 2800: 3f0: 4001: 802 :: 200e, 142.250.
Connecting to ( | 2800: 3f0: 4001: 802 :: 200e |: 443 ...
HTTP request sent, awaiting response ... 400 Bad Request
2021-05-27 20:06:31 ERROR 400: Bad Request.

They could tell me where I'm going wrong.
If you run the same command line in your browser, the file will always download.

Thank you all
Marcos Paris

Copy link

xinzhel commented Jun 11, 2021

Only this worked for a 68G file.

This works for me.

Copy link

command for download any big file from google drive (for big file we need confirm download)
wget --load-cookies /tmp/cookies.txt "$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate '' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt

This worked for me by changing to

Yeah, it save my life!

Copy link

zihaozhang9 commented Dec 20, 2021 via email

Copy link

zihaozhang9 commented Jan 20, 2022 via email

Copy link

Only this worked for a 68G file.

This works for a 188G file! Thanks a lot!

Copy link

@beliys <3

Copy link

@LL3RD Worked for me

Copy link

wangc39 commented Jun 21, 2022

Only this worked for a 68G file.

This works for a 3.3G file with a so fast speed. Thanks a lot!

Copy link

zihaozhang9 commented Jun 21, 2022 via email

Copy link

bhosalems commented Jul 18, 2022

How can I download the dataset here
I want to download Stanford3dDataset_v1.2.tar

Copy link

zihaozhang9 commented Jul 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment