没钱买,只是PDF偷窥了一下这本书
某些章节说的蛮好,比如用Wget自动访问网站
整一个现成的爬虫嘛,以前倒是没发现Wget有这么强大的功能。
WINDOWS下用Cygwin或者UnixUtils也可以使用Wget。
E:\tmp>wget --help
GNU Wget 1.8.2, a non-interactive network retriever.
Usage: wget [OPTION]... [URL]...
Mandatory arguments to long options are mandatory for short options too.
比如,想下载整个MySQL 5.1参考手册到本地,只需要以下命令
E:\tmp>wget --mirror --domains=static.j2bb.com --include-directories=mysql5/ http://static.j2bb.com/mysql5/
数分钟时间就搞下来了:
以上,纳入我转载党居家旅行必备工具。