| | |
Web Scraping Help
Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hello,
I am working on a project and I need to go to multiple news web sites and get articles pertaining to stock numbers. My ideas so far have been to download an RSS file from somewhere like Google Finance, and then extract the links out of there, follow them, get just the article section and then store it into a database. The problem I am seeing is that the sites are structured too differently for me to write something that can accomplish this. I am looking for help on getting a little more advanced with the scraping and wondering if someone could maybe recommend some perl modules that might make this a little easier.
Thanks for the help!
--
Nick
I am working on a project and I need to go to multiple news web sites and get articles pertaining to stock numbers. My ideas so far have been to download an RSS file from somewhere like Google Finance, and then extract the links out of there, follow them, get just the article section and then store it into a database. The problem I am seeing is that the sites are structured too differently for me to write something that can accomplish this. I am looking for help on getting a little more advanced with the scraping and wondering if someone could maybe recommend some perl modules that might make this a little easier.
Thanks for the help!
--
Nick
•
•
Join Date: Sep 2007
Posts: 176
Reputation:
Solved Threads: 20
WWW::Mechanize is the de facto module for scraping, and other tasks. Beware though if the target site contains JavaScript, as Mechanize will not execute it.
Also see http://www.research.att.com/sw/tools/wsp/
And FEAR::API at CPAN.
Also see http://www.research.att.com/sw/tools/wsp/
And FEAR::API at CPAN.
Amer Neely - Web Mechanic
"Others make web sites. We make web sites work!"
"Others make web sites. We make web sites work!"
![]() |
Similar Threads
- Web Site Scraping (IT Professionals' Lounge)
- web scraping (PHP)
- Anyone know a software product marketer / developer? (Internet Marketing Job Offers)
Other Threads in the Perl Forum
- Previous Thread: Fetching values in Perl from MySql
- Next Thread: Problems writing stdout to a file, please help!
| Thread Tools | Search this Thread |
Tag cloud for Perl





