Fred Holmes wrote:
Many thanks for the help. I'm using Windows 32 binary 1.8.2 on WIN2K.

The syntax you have given me gets the first page OK, apparently by using the -O switch to specify a simple filename as the output file, rather than the automatically generated output filename(s). I.e., I get the Table of Contents in content.html. But when I add the rest of my syntax
Sorry, drop the -O part it was as you have guessed only used to avoid files with long strange looking names.

to recurse the links on the TOC page, it still fails. As follows:

D:\Documents and Settings\Administrator\Desktop\New Folder>WGET -d -r -l2 -k -K
-p -np -O content.html "http://thomas.loc.gov/cgi-bin/cpquery/0?r_t=a&r_n=107-79
1&submit=Search&variant=y&acronym=n&syndict=n&spq=n&sort_by_docid=n&d_q=on&dbnam
e=cp107&maxdocs=100&report=hr791.107&xform_type=3&sel=TOCLIST"
DEBUG output created by Wget 1.8.2 on Windows.
>
> (...)
Fred Holmes


At 03:35 PM 1/8/2003, you wrote:

Which version of wget do you use? Would please you include the debug output with the error message if you are running the latest version (1.8.2). As you can see I have no problem with this page.
Yes, you should use quotes to protect the '?' and the '&' from your shell.

$ wget -d -O content.html "http://thomas.loc.gov/cgi-bin/cpquery/0?r_t=a&r_n=107-791&submit=Search&variant=y&acronym=n&syndict=n&spq=n&sort_by_docid=n&d_q=on&dbname=cp107&maxdocs=100&report=hr791.107&xform_type=3&sel=TOCLIST";
--
Med venlig hilsen / Kind regards

Hack Kampbj�rn

Reply via email to