在谷歌驱动器文件上使用 Wget [英] Using Wget on a google drive file

查看:24
本文介绍了在谷歌驱动器文件上使用 Wget的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https:///drive.google.com/a/uci.edu/uc?export=download&confirm=LJ_a&id=0Bxy-54SBqeekTlE4Qy1mWWpsYTQ

我正在尝试使用 Wget 下载上述文件.但是,它只生成 1 KB 的日志文件.我输入:

I am attempting to use Wget to download the file above. However, it only generates 1 KB log file. I enter:

    wget https://drive.google.com/a/uci.edu/uc?export=download&confirm=a-GD&id=0Bxy-54SBqeekTlE4Qy1mWWpsYTQ

然而,这给了我一个日志文件,而不是实际下载文件.

However, this gives me a log file instead of actually downloading the file.

文件大小为 13 GB tar.日志文件如下所示:

The file size is 13 GB tar. The log file looks like this:

    --2017-11-14 13:59:32--  https://drive.google.com/a/uci.edu/uc export=download 
    Resolving drive.google.com (drive.google.com)... [IP ADDRESS GIVEN]
    Connecting to drive.google.com (drive.google.com)|[IP ADDRESS GIVEN]... connected.
    HTTP request sent, awaiting response... 400 Bad Request
    2017-11-14 13:59:33 ERROR 400: Bad Request.

推荐答案

  1. 在浏览器中以隐身模式打开下载链接.像下载该文件一样正常继续.
  2. 点击下载"按钮.当浏览器中的下载开始时,暂停它并复制下载链接.
  3. 在命令提示符下,执行

  1. Open download link in the browser with incognito mode. Proceed normally as you would to download that file.
  2. Click "Download" button. When download starts in the browser, pause it and copy the download link.
  3. At command prompt, do

wget copied_link

它应该适用于任何文件.或者你可以直接从的这里

It should work for any file. or you can directly download your file from here

这篇关于在谷歌驱动器文件上使用 Wget的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆