| > I need to collect certain archived images. The images
are
> output from the archive using a query string, in a URL
> similar to this:
> <http://mysite.com/ImageArchive.nsf?>>;
OpenDocument&Subject=category&Image=item1
> The only success I get is when I allow HTTrack to name
the
> outputs with 'M5' hashing codes, whereupon I get a
> directory full of files named 'image5f6e.gif,' etc.
> How do I persuade HTTrack to name the link it grabs in a
> manner that is at least similar to the link at which it
was
> pointed?
Use Build Options / User-defined structure ; with advanced
variable extraction.
(extract from the man page)
"%[param:before:after:notfound:empty] advanced variable
extraction
-param : parameter name
-before : string to prepend if the parameter was found
-after : string to append if the parameter was found
-notfound : string replacement if the parameter could not
be found
-empty : string replacement if the parameter was empty
all fields, except the first one (the parameter name), can
be empty"
In your case I would suggest for example:
%h%p/%n.%t%[Image:/:.gif::]
which will produce something like:
mysite.com/ImageArchive.nsf/item1.gif
| |