Skip to main content.
home | support | download

Back to List Archive

Spider.pl : filter links to follow on the querystring part of the URI

From: Emmanuel Fournier <fournier(at)not-real.ict-toulouse.asso.fr>
Date: Tue Jan 28 2003 - 09:31:37 GMT
Hello,
newbie with swish-e ;-)
i've read a lot, but ...

i want the spider.pl script to not follow <A> links by filtering
on the querystring part of the URI :

http://www.somesite.fr/rep/file.htm?param1=value1&param2=value2
                                                          ^^^^^^^^^^
In the spider.conf file, in the test_url function, i tried :

return if $uri->path =~ /param1=value1/i;

and it doesn't work :-(


PS:It's work fine with everything before the "?"

Thanks,
______________________________________________
Emmanuel Fournier - ISCAM - ICT
mailto:fournier@ict-toulouse.asso.fr
Received on Tue Jan 28 09:31:57 2003