I am trying to retrieve a web page with WGET using the HTTP part of the following Anchor LINK from downloaded [I.E.5] source code: <a class="dropDown" href="http://www.foosite.com/foopage?action=go_types&class_id=2">
1 As an extra, can anyone explain the significance of (class="dropDown") in the above. I have asked around at other sites, but no explanation. 2 When I click on above LINK using IE5 the correct item appears (Its a dropdown menu). When I enter the url in Address bar the correct item appears. 3 When url entered in WGET I think I just get a default page. Here is my WGET Command line: ./WGET -nr --cookies=on --load-cookies root/.netscape/cookies --save-cookies root/.netscape/cookies --save-headers --cache=off debug -o ERRORS http://www.foosite.com/foopage?action=go_types%26class_id=2 I have attached header and ERROR files. Thanks for any help, I am unsubscribed. Barry.
DEBUG output created by Wget 1.8.2 on linux-gnu. Stored cookie www.bt.com 80 / permanent 0 Thu Jul 1 15:19:02 2004 btcom.isLoggedIn No Stored cookie www.bluesq.com 80 bet permanent 0 Fri Jan 1 00:00:00 2010 last_access 1082313680 Stored cookie .doubleclick.net 80 / permanent 0 Tue Feb 14 14:22:35 2006 id 80000020a4aeb96 --09:38:53-- http://www.bluesq.com/bet?action=go_types%26class_id=2 => `bet?action=go_types%26class_id=2' Resolving www.bluesq.com... done. Caching www.bluesq.com => 213.228.252.133 Connecting to www.bluesq.com[213.228.252.133]:80... connected. Created socket 4. Releasing 0x808a330 (new refcount 1). ---request begin--- GET /bet?action=go_types%26class_id=2 HTTP/1.0 User-Agent: Wget/1.8.2 Host: www.bluesq.com Accept: */* Connection: Keep-Alive Pragma: no-cache ---request end--- HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Thu, 29 Apr 2004 10:10:25 GMT Server: Apache/1.3.26 (Unix) mod_jk/1.1.0 mod_ssl/2.8.9 OpenSSL/0.9.6d Cache-Control: no-cache Expires: 0 Set-Cookie: last_access=1083233425; expires=Fri, 01 Jan 2010 00:00:00; Deleted old cookie (to be replaced.) Stored cookie www.bluesq.com 80 bet permanent 0 Fri Jan 1 00:00:00 2010 last_access 1083233425 Pragma: no-cache Connection: close Content-Type: text/html Length: unspecified [text/html] 0K .......... .......... .......... .... 10.28 KB/s Closing fd 4 09:38:58 (10.28 KB/s) - `bet?action=go_types%26class_id=2' saved [35292] Saving cookies to /root/.netscape/cookies. Done saving cookies.
HTTP/1.1 200 OK Date: Thu, 29 Apr 2004 10:10:25 GMT Server: Apache/1.3.26 (Unix) mod_jk/1.1.0 mod_ssl/2.8.9 OpenSSL/0.9.6d Cache-Control: no-cache Expires: 0 Set-Cookie: last_access=1083233425; expires=Fri, 01 Jan 2010 00:00:00; Pragma: no-cache Connection: close Content-Type: text/html