wget的常用参数

wget常用选项

添加请求头

--header=STRING 在请求头中添加字符串

伪装UA

-U, --user-agent

例如使用Firefox的ua:
--user-agent=" Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0"
指定文件名

-O output.html

从响应头中自动解析文件名

--content-disposition

断点续传

-c,--continue

猜你喜欢

转载自blog.csdn.net/JackDual/article/details/111743725
今日推荐