Selasa, 12 Januari 2021

Cara Download File Di google drive dengan menggunakan wget pada terminal Linux Ubuntu 20.04

 Film yg mau didownload di google drive:
================================
https://drive.google.com/uc?id=1wTctO2rQO6qiSW1YapBPH_yc2VWDEKwX&export=download
download film Outpost

cara download file di googledrive:
============================
https://medium.com/@acpanjan/download-google-drive-files-using-wget-3c2c025a8b99

SO for small file run following command on your terminal:
wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O FILENAME
In the above command change the FILEID by above id extracted and rename FILENAME for your own simple use.
For lagre file run the following command with necessary changes in FILEID and FILENAME:
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
cara resume file download di wget:
============================
https://carisinyal.com/cara-melanjutkan-download-yang-gagal-di-google-chrome/

0 komentar:

Posting Komentar