cURL / Mailing Lists / curl-users / Single Mail

curl-users

Rewrite relativ URL to absolute with curl?

From: Michael Heiming <michael_at_heiming.de>
Date: Tue, 18 Nov 2003 22:59:20 +0100

Hi!

Is it possible to make curl rewrite HTML like:

<img src="/img/0,1020,215074,00.jpg" [..]

to

<IMG SRC="http://www.spiegel.de/img/0,1020,215074,00.jpg" [..]

w3mir does this per default, but it lacks most of any other advanced features curl has.

Hopefuly, I'm just overlooking some switch? As last resort sed might do the trick somehow.

Thx for reading and any help on the problem.
 
Michael Heiming

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-11-18