curl与wget

curl与wget都可以用于下载文件,并且支出断点续传。
wget可以批量下载网站里面的网页

wget --mirror -p --convert-links -P ~/html/ http://man.linuxde.net/

curl还可以模拟提交web数据,在chrome浏览器中,开发者工具里面,可以在network选项卡里面,右键—-copy as curl

参考网址
[1]https://www.zhihu.com/question/19598302
[2]https://www.cnblogs.com/lsdb/p/7171779.html

猜你喜欢

转载自blog.csdn.net/yangyangrenren/article/details/79196779