hi!
well I think you misunderstood perhaps...
I mean not to give referer (the --referer) but to give
something like --auto-referer (possibly in wgetrc even)
and wget will set referer for each url it process to the
host-part from the same url. i.e. I'll give the example
once again:
I run:
wget --auto-referer -m http://host1/path
wget sets referer for all host1's urls to `http://host1/',
if any page links to `http://host2/path', wget will set
referer to `http://host2/' etc...
I'm sorry but I wouldn't be able to explain further I'm
afraid :)))
thanx to you both for the reply!
P! Vladi.
Jan Hnila wrote:
>
> Hello!
>
> To be able to use the referer switch, you must have a new version of
> wget - I'm not sure, if 1.6 is enough, 1.7 certainly is enough and 1.5.3
> is not enough.(Get more info's from http://wget.sunsite.dk)
>
> The switch is --referer=URL
>
> Try to use it with the -d (debug) switch to see, that it works.
> For example:
> wget -d --referer=http://wget.sunsite.dk/wgetdev.html http://www.gnu.org
>
> Of course, adjust it to suit your needs. (And you can put this setting in
> your wgetrc file, if you want -just omit the "--".)
>
> Kind regards
>
> Jan Hnila
>
> P.S. The advice suggested by Jens is actually something different - it is
> the identity of your "browser" - it lets you pretend, that
> you are not "wget", but for example Netscape:
> For example:
> --user-agent="Mozilla/4.72 [en] (X11; U; Linux 2.2.17 i686)"
> or
> --user-agent="Mozilla/4.0 (compatible; MSIE 4.01; Mac_PowerPC)"
>
> --user-agent=AGENT //(AGENT is the string you would like to be identified as)
--
Vladi Belperchinov-Shabanski <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Personal home page at http://www.biscom.net/~cade
DataMax Ltd. http://www.datamax.bg
Too many hopes and dreams won't see the light...
S/MIME Cryptographic Signature