wget与代理设置
来源:互联网 发布:战地4 知乎 编辑:程序博客网 时间:2024/04/26 21:50
1、在bash shell中设定代理
.basrhc:
export http_proxy="166.111.53A.167:3128"
export ftp_proxy="166.111.53A.167:3128"
%DON‘T ask me why the proxy above is invaild, it's just an example^_*
2、对于wget可以单独建立.wgetrc
http-proxy = 166.111.53.167:3128
ftp-proxy = 166.111.53.167:3128
3、用wget下载整个站点
#wget -k -m -np -d --proxy-user=usrname --proxy-passwd=passwd http://www.hq.nasa.gov/office/pao/History/SP-468/contents.htm
-k, --convert-links 将绝对链接转换为相对链接。
-m 就等价于 递归下载+除非远程文件较新,否则不再取回+最大递归深度无限+不删除“.listing”文件。
-np, --no-parent 不搜索上层目录。
注意其中-d只是输出下载信息,换成-q就变成“安静”下载了。
另外还有两个选项可能会有用到。
-b:让wget在后台运行
-c:断点续传
- wget与代理设置
- wget代理设置
- wget代理的设置
- wget 的代理设置
- wget设置代理
- wget设置代理
- Linux wget命令设置代理
- 【转】YUM, WGET代理设置
- CentOS设置代理, yum, wget
- Linux代理上网关于wget的设置
- 给ant和wget设置代理
- 为 SVN WGET YUM 设置 HTTP 代理
- wget/curl命令行设置代理的方法
- 为wget、pip等命令【设置代理】
- gem与代理设置
- gem与代理设置
- WGET 通过代理下载
- 用socks 代理 wget
- Introduction of .NET Framework3.0 (3)
- php +js 中多选项(复选)框的检测
- Introduction of .NET framework 3.0 (4)
- Introduction of .NET framework 3.0 (5)
- [体育评论]辽沈晚报:神猪罗洗河为什么成了病猪
- wget与代理设置
- gem与代理设置
- The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake)
- The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) - Page 2
- The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) - Page 3
- The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) - Page 4
- The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) - Page 5
- 中国的数学界竟也如此这般
- The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) - Page 6