|
From: | Kevin Bowling |
Subject: | Re: [Bug-wget] Local URL updates |
Date: | Wed, 19 Nov 2008 17:26:10 -0500 |
User-agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
Micah Cowan wrote:
Actually, the problem is worse than I thought. I _DID_ use the --convert-links option, and where the original host had used relative links like ../page/index.htm, wget converted these to absolute URLs of the foreign host even though the items exist locally.-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Bowling wrote:Hello, I have some large mirrored pages that I made the mistake of not using the local rewrite option, so certain links still point to the remote host. Is there a method that I can use to change these to local or relative URLs offline?Not currently. :\ This is one of the things that would be enabled by the proposed Session Info Database feature: http://wget.addictivecode.org/FeatureSpecifications/SessionInfoDataBase
Any thoughts on how to fix this? My command invocation is: wget -N -r -l inf -nH -np -k -p --user-agent="myagent" \ http://domain.com/subdir/mirroringdir/ Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |