沒錢買,只是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/
數分鐘時間就搞下來了:
以上,納入我轉載黨居家旅行必備工具。