bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Local URL updates


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:
-----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
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.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]