curl 命令默认用的User-Agent是curl/7.64.0

不太好,现在想让他全局curl命令都是别的agent头:
创建 ~/.curlrc 文件,在文件中加入:
user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"

然后再curl,就不是默认的了。

Sharing, progress, innovation.
curl 命令默认用的User-Agent是curl/7.64.0
不太好,现在想让他全局curl命令都是别的agent头:
创建 ~/.curlrc 文件,在文件中加入:
user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"
然后再curl,就不是默认的了。
You made some good points there. I looked on the internet for the subject matter and found most individuals will agree with your site. Caryl Aguie Kuehn