punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:
Personal project - I'm thinking about next year's football pool. It seems an obvious thing for the Perl programmer in the pool to create a script that scrapes weekly stats from the league website and puts them into a DB for compilation & comparison. No more manual stats collection.
Never done this, personally. Some reading suggests that www::mechanize would be a good module for this task.
BUT - I've noticed that on the web page I'd want to scrape, the stats columns randomly change order on subsequent views. Either the programmer was just lazy and used
producing randomly ordered output, OR the admins are intentionally trying to frustrate scrapers.foreach $col (keys %columns) { print... }
Anyway - my questions:
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: www::mechanize to scrape randomly ordered data?
by whakka (Hermit) on Sep 19, 2008 at 15:10 UTC | |
|
Re: www::mechanize to scrape randomly ordered data?
by jettero (Monsignor) on Sep 19, 2008 at 14:55 UTC |