Hi,
I am still building my little crawler.
At the moment I retrieve each page using the Lynx browser:
sub fetch_a_page { my($fetch_this)=@_; # Holds URL of page to be fetched my($fetched_page); # Holds contents of fetched page $fetched_page=`lynx -source $fetch_this`; return $fetched_page; }
I am aware of the LWP module being able to fetch web pages. Is there any actual advantage to be had from using LWP rather than Lynx?
If I shifted the script from the current Unix server to Windows then I would have to include LWP but I don't forsee that ever happening.
Thanks.
In reply to Advatages of LWP? by ChrisJ-UK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |