Re: How to handle the Redirected using Scrappy Module

2011-05-31 Thread Ambuli
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,

In Spreadsheet::WriteExcel any logic to get a referance of the cell and write a value to the cell which one referanced

2011-05-27 Thread Ambuli
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:

How to handle the Redirected using Scrappy Module

2011-05-24 Thread Ambuli
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

Truncate Last few lines

2011-05-20 Thread Ambuli
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(