CC: | bug-www-search-msn [...] rt.cpan.org |
Subject: | Re: www::search::msn and null result issue |
Date: | Mon, 24 Jul 2006 19:28:23 +0300 |
To: | Tomasz Chomiuk <t.chomiuk [...] wp.pl> |
From: | Shlomi Fish <shlomif [...] iglu.org.il> |
On Monday 24 July 2006 17:35, Tomasz Chomiuk wrote:
Show quoted text
> Hi Shlomi,
>
> Most probably I'm doing something wrong but when I use search query
> which produces 0 results I get the following error:
>
> Can't call method "look_down" on an undefined value at
> /usr/local/lib/perl5/site_perl/5.8.8/WWW/Search/MSN.pm line 112.
>
> code:
>
> my $oSearch = new WWW::Search('MSN');
> $oSearch->native_query('n0neks1stent123');
> my @results = $oSearch->results();
>
Hi Tomasz!
Thanks for reporting this. I'll look into it, soon. It seems to work for me.
Like I blogged about it in my blog, making the HTML parsing routines robust
enough is a hard problem given all the variations of the output of search
engines. If we were using the web API it would be better, but SOAP scares me.
I'll see what I can do.
Regards,
Shlomi Fish
---------------------------------------------------------------------
Shlomi Fish shlomif@iglu.org.il
Homepage: http://www.shlomifish.org/
Chuck Norris wrote a complete Perl 6 implementation in a day but then
destroyed all evidence with his bare hands, so no one will know his secrets.