in reply to Re^3: Scrappy user_agent error
in thread Scrappy user_agent error
And CPANs Module Version: 0.94112090 docs from: http://search.cpan.org/dist/Scrappy/lib/Scrappy.pm#user_agent
user_agent The user_agent attribute holds the Scrappy::Scraper::UserAgent object which is used to set and manipulate the user-agent header of the scraper.So in that context, how would I set the user_agent correctly to be firefox using Scrappy 0.94112090? There used to be way. Maybe it was removed. I seem to be missing the entire picture somehow :)my $scraper = Scrappy->new; $scraper->user_agent;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Scrappy user_agent error
by jethro (Monsignor) on Jan 04, 2012 at 10:16 UTC | |
by docster (Novice) on Jan 06, 2012 at 16:51 UTC | |
Re^5: Scrappy user_agent error
by roboticus (Chancellor) on Jan 04, 2012 at 04:01 UTC |