[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-beginners
Subject: Re: How to handle the Redirected using Scrappy Module
From: 207.171.7.86
Date: 2011-05-31 14:02:17
Message-ID: 1a988d1e-b47a-4865-b8b1-a0ccdefe6cc0 () l14g2000pro ! googlegroups ! com
[Download RAW message or body]
Hi Chris Nehren,
I show my code to clear my thought.
my $scraper = Scrappy->new;
$new_url="Some Url";
$scraper->get($new_url)
if ($scraper->page_status == 302)
{
# Here i want to get the redirect Location
}
Give some suggestion for me
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic