How to download the Google Drive big Datasets
- Frist step was to get the id number from file link
- The second step was to use code I put here.
Frist step was to get the id number from file link
I get the link was ‘https://drive.google.com/open?id=1EOB5jYERvCkp-xYB0XFTFSH3EPo9n1eJ’.
And the id was 1EOB5jYERvCkp-xYB0XFTFSH3EPo9n1eJ
The second step was to use code I put here.
!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=1EOB5jYERvCkp-xYB0XFTFSH3EPo9n1eJ' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1EOB5jYERvCkp-xYB0XFTFSH3EPo9n1eJ" -O cba.zip && rm -rf /tmp/cookies.txt