In Perl because of all the CPAN libraries, I want to extract text content by scraping html.
If the page contained these links:
Google
Apple
The output would be:
Google, http://www.google.com Apple, http://www.apple.com
What is the best way to do this in Perl?
Please look at using the WWW::Mechanize module for this. It will fetch your web pages for you, and then give you easy-to-work with lists of URLs.
Please look at using the WWW::Mechanize module for this. It will fetch your web pages for you, and then give you easy-to-work with lists of URLs.