I do get the full Internet address in the download if I use -k or
--convert-links, but not if I use it with -O
Ah. Right you are. Looks like a bug to me. Wget/1.10.2a1 (VMS
Alpha V7.3-2) says this without -O:
08:53:42 (51.00 MB/s) - `index.html' saved [2674]
Converting index.html...
Steven M. Schweda wrote:
I do get the full Internet address in the download if I use -k or
--convert-links, but not if I use it with -O
Ah. Right you are. Looks like a bug to me.
Is the developer available to confirm this?
Without looking at the code, I'd say that someone is
I'm trying to use wget to do the following:
1. retrieve a single page
2. convert the links in the retrieved page to their full, absolute
addresses.
3. save the page with a file name that I specify
I thought this would do it:
wget -k -O test.html http://www.google.com
However, it doesn't
1. retrieve a single page
That worked.
2. convert the links in the retrieved page to their full, absolute
addresses.
My wget -h output (Wget 1.10.2a1) says:
-k, --convert-links make links in downloaded HTML point to local files.
Wget 1.9.1e says:
-k, --convert-links
Steven M. Schweda wrote:
Not anything about converting relative links to absolute. I don't see
an option to do this automatically.
From the wget man
page for --convert-links:
...if a linked file was downloaded, the link will refer to its local
name; if it was not downloaded, the link