美文网首页
download files from googledrive

download files from googledrive

作者: 啊啊啊啊啊1231 | 来源:发表于2021-05-30 15:23 被阅读0次

#!/bin/bash

youtube-dl https://drive.google.com/open?id=3PIY9dCoWRs-930HHvY-3-FOOPrIVoBAR

#FILENAME='outfit_data.txt.zip'

#FILEID='1HFKUqBe5oMizU0lxy6sQE5Er1w9x-cC4'

#wget --load-cookies /tmp/cookies.txt "https://drive.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

#curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null

#curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}

#rm ./cookie

#youtube-dl https://drive.google.com/open?id=1HFKUqBe5oMizU0lxy6sQE5Er1w9x-cC4

#https://drive.google.com/file/d/1HFKUqBe5oMizU0lxy6sQE5Er1w9x-cC4/view?usp=sharing

##filename='outfit_data.txt.zip'

#3fileid='3PIY9dCoWRs-930HHvY-3-FOOPrIVoBAR'

#fffile_id = '3PIY9dCoWRs-930HHvY-3-FOOPrIVoBAR'

#fileid='1G_1SV9H7fQMPPJOBmZpCnCkgifSsb9Ar'

##curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}" > /dev/null

##curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}

#wget --no-check-certificate "https://drive.google.com/uc?export=download&id=${fileid}" -O ${filename}

相关文章

网友评论

      本文标题:download files from googledrive

      本文链接:https://www.haomeiwen.com/subject/bqtmsltx.html