[dundee] wget and dynamic links
Rick Moynihan
rick.moynihan at gmail.com
Tue May 19 01:33:08 UTC 2009
man wget /relative
... snip ...
-i file
--input-file=file
Read URLs from file. If - is specified as file, URLs are read from
the standard input. (Use ./- to read from a file literally named -.)
If this function is used, no URLs need be present on the command
line. If there are URLs both on the command line and in an input
file, those on the command lines will be the first ones to be
retrieved. The file need not be an HTML document (but no harm if it
is)---it is enough if the URLs are just listed sequentially.
However, if you specify --force-html, the document will be regarded as
html. In that case you may have problems with relative links, which
you can solve either by adding "<base href="url">" to the documents or
by specifying --base=url on the command line.
-F
--force-html
When input is read from a file, force it to be treated as an HTML
file. This enables you to retrieve relative links from existing
HTML files on your local disk, by adding "<base href="url">" to
HTML, or using the --base command-line option.
-B URL
--base=URL
Prepends URL to relative links read from the file specified with
the -i option.
R.
More information about the dundee
mailing list