Hello, this what happened when I tried to cache www.nytimes.com web page with command wget -nd -p --delete-after http://www.nytimes.com wget 1.10.2
With regards Jan Pankiewicz write(2, "Connecting to 192.168.0.4:3128.."..., 34Connecting to 192.168.0.4:3128... ) = 34 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(3128), sin_addr=inet_addr("192.168.0.4")}, 16) = 0 write(2, "connected.\n", 11connected. ) = 11 select(4, NULL, [3], NULL, {900, 0}) = 1 (out [3], left {900, 0}) write(3, "GET http://www.nytimes.com/adx/b"..., 310) = 310 write(2, "Proxy request sent, awaiting res"..., 41Proxy request sent, awaiting response... ) = 41 select(4, [3], NULL, NULL, {900, 0}) = 1 (in [3], left {899, 716000}) recv(3, "HTTP/1.0 302 Moved Temporarily\r\n"..., 511, MSG_PEEK) = 212 read(3, "HTTP/1.0 302 Moved Temporarily\r\n"..., 212) = 212 write(2, "302 Moved Temporarily\n", 22302 Moved Temporarily ) = 22 write(2, "Location: http:// [following]\n", 30Location: http:// [following] ) = 30 close(3) = 0 time(NULL) = 1160733811 write(2, "http://: Invalid host name.\n", 28http://: Invalid host name. ) = 28 write(2, "Removing (null).\n", 17Removing (null). ) = 17 unlink(umovestr: Input/output error 0) = -1 EFAULT (Bad address) write(2, "unlink: Bad address\n", 20unlink: Bad address ) = 20 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ ---------------------------------------- time wget -nd -p --delete-after http://www.nytimes.com --12:00:59-- http://www.nytimes.com/ => `index.html.1' Connecting to 192.168.0.4:3128... connected. Proxy request sent, awaiting response... 200 OK Length: unspecified [text/html] [ <=> ] 99,561 86.27K/s 12:01:00 (86.07 KB/s) - `index.html.1' saved [99561] Loading robots.txt; please ignore errors. --12:01:00-- http://www.nytimes.com/robots.txt => `robots.txt.14' Connecting to 192.168.0.4:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 492 [text/plain] 100%[================================================================= ====================================================================== ===================>] 492 --.--K/s 12:01:00 (46.92 MB/s) - `robots.txt.14' saved [492/492] Removing index.html.1. --12:01:00-- http://www.nytimes.com/ads/common/embed2.js => `embed2.js' Connecting to 192.168.0.4:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1,909 (1.9K) [application/x-javascript] 100%[================================================================= ====================================================================== ===================>] 1,909 --.--K/s 12:01:00 (182.06 MB/s) - `embed2.js' saved [1909/1909] Removing embed2.js. --12:01:00-- http://www.nytimes.com/%22%20+%20m_appUrl%20+%20%22 => `" + m_appUrl + "' Connecting to 192.168.0.4:3128... connected. Proxy request sent, awaiting response... 404 Not Found 12:01:00 ERROR 404: Not Found. Removing " + m_appUrl + ". unlink: No such file or directory --12:01:00-- http://www.nytimes.com/adx/bin/adx_click.html?type=goto&page=homepage. nytimes.com/index.html&pos=HPMiddle&camp=nytnyt-TS-HPMiddle2- nonsubs&ad=brooks_336non&goto= => `adx_click.html?type=goto&page=homepage.nytimes.com%2Findex.html&pos=H PMiddle&camp=nytnyt-TS-HPMiddle2-nonsubs&ad=brooks_336non&goto=' Connecting to 192.168.0.4:3128... connected. Proxy request sent, awaiting response... 302 Moved Temporarily Location: http:// [following] http://: Invalid host name. Removing (null). unlink: Bad address Segmentation fault real 0m1.966s user 0m0.008s sys 0m0.016s