in reply to Get method in Scrappy module is not working for some sites

I can confirm this error.

Taking note of the error , and comparing your code with the scrappy generated code, and I see it wants a session file, so I add

my $sess = 'foo.scrappy.session'; -f $sess ? $scraper->session->load($sess) : $scraper->session->write($sess);
and the error goes away. Its some kind of bug (either session is required, or its optional, or somethiing else).

Replies are listed 'Best First'.
Re^2: Get method in Scrappy module is not working for some sites
by shivanisai (Initiate) on May 13, 2011 at 07:51 UTC
    Now I got the solution.Thank you For Your Immediate Reply.