Hi ,
I want help on the following problem :
How can I read data from a webpage and store it in file.I have the following script code in perl :
#!/usr/bin/perl use LWP::Simple; $url = "http://www.myurl.com/"; $file = "/path/to/savefile.txt"; getstore($url, $file);
But What i want is if I have a web page like yahoo.com or rediff.com or any web page opened in web browser then I need to read the data of that opened page in browser .
Eg :
1.if i have yahoo.com page opened in browser then I need to read that page data and store it in file .
2.if i have rediff.com page opened in browser then I need to read that page data and store it in file .
3.If i have any web page opened then I need to read that page data and store it in file .
When i use ,
it is just like hard coding a particular link , which i don't want.$url = "http://www.myurl.com/";
How can i achieve this .
Please let me know on the above problem .
Thankyou !20030720 Edit by Corion: Added formatting
In reply to Read web page Data by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |