HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Filter to modify URLs
Author: Xavier Roche
Date: 04/11/2004 18:28
 
> what I want to know is, if it there is a plan to add a
> filter method to modify URLs by an given filter (for 
example
> a regex expression).

This is not possible directly, but if you have some 
programming skills, you can try to use the "base href" hack 
given as example (see callbacks-example-baselinks.c) to 
acheive this:

LD_LIBRARY_PATH=/usr/share/httrack/libtest/ httrack \
    <http://web.archive.org/web/20030124012739/www.httrack.c>
om/index.php' \
    '-*' '+web.archive.org/web/20030124012739/*' \
    --wrapper check-html=libbaselinks:process_file \
    --wrapper 'link-
detected=libbaselinks:check_detectedlink,http://web.archive.
org/web/20030124012739/' \
    --sockets=1 --max-rate=5000 --robots=0

But, again, this is not a simple method, and it requires 
some scripting/programming knownledge.

 
Reply Create subthread


All articles

Subject Author Date
Filter to modify URLs

04/11/2004 17:04
Re: Filter to modify URLs

04/11/2004 18:28
Re: Filter to modify URLs

04/19/2004 12:57




4

Created with FORUM 2.0.11