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,
I am try to write a value to the Spreadsheet and the value is writes
by the referance which one we got.
I am using Spreadsheet write excel.
If any one know the logic please suggest me.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail:
I am try to crawl a webpage that one is redirected to another.
I am using Scrappy module for crawling process.
I am using version 0.94111370 (Updated version).
Any one suggest me to handle the Redirect.
thank you,
Muthukumaraswamy.C (Ambuli)
--
To unsubscribe, e-mail: beginners-unsubscr
Here i paste a perl script to delete last Two Lines. If you want
delete more lines in a file you can specify it.
use File::ReadBackwards;
my $filename = 'test.txt';
my $Lines_to_truncate = 2; # Here the line to truncate is mean Remove
only Last Two Lines
my $bw = File::ReadBackwards-new(