Linux用wget命令下载百度网盘文件的方法

1. 获取百度网盘直链

获取文件下载链接,推荐2个油猴暴力猴插件:

2. 用wget命令下载文件

获取到文件直接下载地址后,通过下面的命令下载:

  • wget -c -O 文件名.xx后缀 "下载地址"

3. 下面整理了一些常用服务器软件安装包下载:

  • jdk-8u172-linux-x64.tar.gz下载:
wget -c -O jdk-8u172-linux-x64.tar.gz "https://www.baidupcs.com/rest/2.0/pcs/file?method=batchdownload&app_id=250528&zipcontent=%7B%22fs_id%22%3A%5B388003470305714%5D%7D&sign=DCb740ccc5511e5e8fedcff06b081203:EVLkmviHPn6GvI3v3BeZ1%2Bb0lgU%3D&uid=3439495445&time=1538275831&dp-logid=6295732691505233088&dp-callid=0&vuk=3439495445&zipname=jdk-8u172-linux-x64.tar.gz"
  • jdk-8u172-linux-x64.rpm下载:
wget -c -O jdk-8u172-linux-x64.rpm "https://www.baidupcs.com/rest/2.0/pcs/file?method=batchdownload&app_id=250528&zipcontent=%7B%22fs_id%22%3A%5B85633441252910%5D%7D&sign=DCb740ccc5511e5e8fedcff06b081203:OgVp9mVCD01KkP%2FtQwcJUYYtfxY%3D&uid=3439495445&time=1538276012&dp-logid=6295781128240388186&dp-callid=0&vuk=3439495445&zipname=jdk-8u172-linux-x64.rpm"
  • apache-tomcat-8.0.51.zip下载:
wget -c -O apache-tomcat-8.0.51.zip "https://www.baidupcs.com/rest/2.0/pcs/file?method=batchdownload&app_id=250528&zipcontent=%7B%22fs_id%22%3A%5B168601893604390%5D%7D&sign=DCb740ccc5511e5e8fedcff06b081203:6u397dLKPeEoGqyc6kfpWOjDiAA%3D&uid=3439495445&time=1538275917&dp-logid=6295755626834107026&dp-callid=0&vuk=3439495445&zipname=apache-tomcat-8.0.51.zip"
  • apache-maven-3.5.3-bin.zip下载:
wget -c -O apache-maven-3.5.3-bin.zip "https://www.baidupcs.com/rest/2.0/pcs/file?method=batchdownload&app_id=250528&zipcontent=%7B%22fs_id%22%3A%5B559693185995817%5D%7D&sign=DCb740ccc5511e5e8fedcff06b081203:8GELcRxSQ8XSQ%2Fsni52GzqoCjoE%3D&uid=3439495445&time=1538193309&dp-logid=6273580855452643496&dp-callid=0&vuk=3439495445&zipname=apache-maven-3.5.3-bin.zip"


» 本文章为Java地带原创,欢迎转载!转载请注明本文地址,谢谢!
» 本文链接:https://blog.java-zone.org/archives/1736.html
» 订阅本站:https://blog.java-zone.org/feed/
» 转载请注明来源:Java地带  » 《Linux用wget命令下载百度网盘文件的方法》

标签: Linux

添加新评论