Re: web scraping
- From: rob.dixon@xxxxxxx (Rob Dixon)
- Date: Mon, 28 Apr 2008 19:15:32 +0100
Alex Goor wrote:
I was hoping to write a simple program (if that's possible) to open a
browser, go to a site, and scrape a piece of information from that
site.
For example, I was hoping to open a Safari of Firefox browser, go to
nyt.com and scrape the Dow Jones Industrial Average which is on the
homepage.
Does anyone know where I could get an example program that does this
kind of thing to teach myself the concepts?
Driving an actual Web browser is awkward and unnecessary unless the page you want cannot be handled with a Perl module.
Take a look at WWW::Mechanize and see if it suits your purpose.
Rob
.
- Follow-Ups:
- Re: web scraping
- From: Octavian Rasnita
- Re: web scraping
- References:
- web scraping
- From: Alex Goor
- web scraping
- Prev by Date: Re: perl head and tail command ?
- Next by Date: RE: Info from flat file
- Previous by thread: web scraping
- Next by thread: Re: web scraping
- Index(es):
Relevant Pages
|
|