从百度网盘下载文件
共享百度网盘获得链接
https://pan.baidu.com/s/1iUOTAWr1SRlL2fBZ7lIV
拿到链接之后在浏览器中进行下载,可以查看下载链接
右键这些文件即可得到下载链接
类似于长这样
https://bdbl-cm01.baidupcs.com/file/b02f72906b3d0d07130be625eabc76d5?bkt=en-660aa7a193f4106df868a1159a5596785905d944e57b1c7f3408d2a624ad8fa1051551dcbfa13bbd2c76f9a84ce0f3cd8ed8727b9aab29d70c045a444bff0fa3&fid=34723692347274-250528-19529119862864&time=1728397067&sign=FDTAXUbGERLQlBHSKfWqiu-DCb740ccc5511e5e8fedcff06b081203-RPigx0iQaoYlE21K2z3RQs7fhpc%3D&to=401&size=2348234&sta_dx=363787&sta_cs=24&sta_ft=txt&sta_ct=7&sta_mt=7&fm2=MH%2CBaoding%2CAnywhere%2C%2C%E5%9B%9B%E5%B7%9D%2Ccmnet&ctime=1529935363&mtime=1554396684&dt3=4&resv0=-1&resv1=0&resv2=rlim&resv3=5&resv4=1231234&vuk=1103111378071&iv=0&vl=1&htype=&randtype=&tkbind_id=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=en-cf151b439e8e572c8d8bf4fa2b4c3a09a3c3500d232d49af3f573dde43f9bee7251ff1306d9801f65e3957bed42f6308ca776cc3d331b597305a5e1275657320&sl=76480590&expires=8h&rt=sh&r=694288460&vbdid=3614811258&fin=%5BSAO%E5%90%A7%E8%81%94%E7%BF%BB%5D%5B%E5%B7%9D%E5%8E%9F%E7%A0%BE%5D%5B%E5%88%80%E5%89%91%E7%A5%9E%E5%9F%9F%5D%5B15%5D%5BAlicization+Invading%5D.txt&fn=%5BSAO%E5%90%A7%E8%81%94%E7%BF%BB%5D%5B%E5%B7%9D%E5%8E%9F%E7%A0%BE%5D%5B%E5%88%80%E5%89%91%E7%A5%9E%E5%9F%9F%5D%5B15%5D%5BAlicization+Invading%5D.txt&rtype=1&clienttype=0&dp-logid=8844572927154824106&dp-callid=0.1&hps=1&tsl=80&csl=80&fsl=-1&csign=AtMsdeN4FhGZ8xsRxGvCFxrlMQM%3D&so=0&ut=6&uter=4&serv=0&uc=2234628480&ti=51d76b5cdb7a87d214c21c9106a15d2de9336670c675c467305a5e1275657320&hflag=30&from_type=0&adg=c_fba249bca4b395685e5d1380894d0a30&reqlabel=250528_f_0d379c25691f1db02fd2dff786ffd19a_-1_e575750a3c4aa01749b9e79faa454520&fpath=%E6%88%91%E7%9A%84%E8%B5%84%E6%BA%90%2F%E5%B0%8F%E8%AF%B4%2F%5B%E5%88%80%E5%89%91%E7%A5%9E%E5%9F%9F01-21%E5%8D%B7%2B%E5%88%80%E5%89%91%E7%A5%9E%E5%9F%9F%E8%BF%9B%E5%87%BB%E7%AF%87%28Progressive%2901-04%E5%8D%B7%2B%E5%A4%96%E4%BC%A0GGO+01%E5%8D%B7%5D%5Btxt%E7%89%88%5D%2F%E6%9C%AC%E7%AF%87&by=themis&resvsflag=1-0-0-1-1-1
wget下载网盘文件
首先看一下wget下载网盘文件的命令行格式:
wget -c --referer=https://pan.baidu.com/s/1iUOTAWr1SRlL2fBZ7lIV -O filename “https://link2”
其中需要用到两个链接,第一个链接用的就是第一步保存的,带有提取码的那个链接。而第二个链接,则是下面那个较长的链接
wget -c --referer=https://link1 -O filename "https://bdbl-cm01.baidupcs.com/file/b02f72906b3d0d07130be625eabc76d5?bkt=en-660aa7a193f4106df868a1159a5596785905d944e57b1c7f3408d2a624ad8fa1051551dcbfa13bbd2c76f9a84ce0f3cd8ed8727b9aab29d70c045a444bff0fa3&fid=34723692347274-250528-19529119862864&time=1728397067&sign=FDTAXUbGERLQlBHSKfWqiu-DCb740ccc5511e5e8fedcff06b081203-RPigx0iQaoYlE21K2z3RQs7fhpc%3D&to=401&size=2348234&sta_dx=363787&sta_cs=24&sta_ft=txt&sta_ct=7&sta_mt=7&fm2=MH%2CBaoding%2CAnywhere%2C%2C%E5%9B%9B%E5%B7%9D%2Ccmnet&ctime=1529935363&mtime=1554396684&dt3=4&resv0=-1&resv1=0&resv2=rlim&resv3=5&resv4=1231234&vuk=1103111378071&iv=0&vl=1&htype=&randtype=&tkbind_id=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=en-cf151b439e8e572c8d8bf4fa2b4c3a09a3c3500d232d49af3f573dde43f9bee7251ff1306d9801f65e3957bed42f6308ca776cc3d331b597305a5e1275657320&sl=76480590&expires=8h&rt=sh&r=694288460&vbdid=3614811258&fin=%5BSAO%E5%90%A7%E8%81%94%E7%BF%BB%5D%5B%E5%B7%9D%E5%8E%9F%E7%A0%BE%5D%5B%E5%88%80%E5%89%91%E7%A5%9E%E5%9F%9F%5D%5B15%5D%5BAlicization+Invading%5D.txt&fn=%5BSAO%E5%90%A7%E8%81%94%E7%BF%BB%5D%5B%E5%B7%9D%E5%8E%9F%E7%A0%BE%5D%5B%E5%88%80%E5%89%91%E7%A5%9E%E5%9F%9F%5D%5B15%5D%5BAlicization+Invading%5D.txt&rtype=1&clienttype=0&dp-logid=8844572927154824106&dp-callid=0.1&hps=1&tsl=80&csl=80&fsl=-1&csign=AtMsdeN4FhGZ8xsRxGvCFxrlMQM%3D&so=0&ut=6&uter=4&serv=0&uc=2234628480&ti=51d76b5cdb7a87d214c21c9106a15d2de9336670c675c467305a5e1275657320&hflag=30&from_type=0&adg=c_fba249bca4b395685e5d1380894d0a30&reqlabel=250528_f_0d379c25691f1db02fd2dff786ffd19a_-1_e575750a3c4aa01749b9e79faa454520&fpath=%E6%88%91%E7%9A%84%E8%B5%84%E6%BA%90%2F%E5%B0%8F%E8%AF%B4%2F%5B%E5%88%80%E5%89%91%E7%A5%9E%E5%9F%9F01-21%E5%8D%B7%2B%E5%88%80%E5%89%91%E7%A5%9E%E5%9F%9F%E8%BF%9B%E5%87%BB%E7%AF%87%28Progressive%2901-04%E5%8D%B7%2B%E5%A4%96%E4%BC%A0GGO+01%E5%8D%B7%5D%5Btxt%E7%89%88%5D%2F%E6%9C%AC%E7%AF%87&by=themis&resvsflag=1-0-0-1-1-1"
一定要记住中间那个O重命名是大写的,我之前尝试了好几次小写的o都报错了,找了很久的原因才找出来
下载成功界面长这样
也能够进行普通下载
这里下载我的上一篇博客并重新命名
命令功能:
用于从网络上下载资源,没有指定目录,下载资源回默认为当前目录。wget虽然功能强大,但是使用起来还是比较简单
支持断点下传功能
同时支持FTP和HTTP下载方式
支持代理服务器:对安全强度很高的系统而言,一般不会将自己的系统直接暴露在互联网上,所以支持代理是下载软件必须有的功能;
设置方便简单
粗劣的想用个定时任务让他定时下载,貌似没搞上,明天再看看这一部分