http://www.perlmonks.org?node_id=1015636


in reply to Parsing webpages

"Trade Me" has a published API and it will be much easier to use this API rather than scrape the site.

Actually, using the API is the only authorised way to automate access to the website:

4.1.c You may not use a robot, spider, scraper or other unauthorised automated means to access the Website or information featured on it for any purpose.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics