本帖最后由 ceft 于 2022-2-27 12:26 编辑
想把谷歌云盘的东西转到服务器里面,以下方式已经尝试过了 只能下载小40m的文件
https://drive.google.com/file/d/FILE_ID/edit?usp=sharing
https://drive.google.com/uc?export=download&id=FILE_ID
下面这个方式也测试过 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_]+).*/1n/p’)&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
返回–2022-02-27 03:45:27– https://docs.google.com/uc?export=download&confirm=&id=FILEID Resolving docs.google.com (docs.google.com)… 142.251.40.206, 2607:f8b0:4006:822::200e Connecting to docs.google.com (docs.google.com)|142.251.40.206|:443… connected. HTTP request sent, awaiting response… 404 Not Found 2022-02-27 03:45:28 ERROR 404: Not Found. |