Screen scraping a portion of another web page

Grabbing data from another web page can either be illegal or a last ditch effort to overcome a data issue. The industry pet name for grabbing another web page and parsing out the needed data is called "Screen Scraping".

Note

Remember, screen scraping a website that we do not have permission to use the data from is illegal and can land us and our firm in a lot of unnecessary hot water!

Getting ready

All the legal mumbo-jumbo aside, screen scraping has many legal, and purposeful uses. To implement this recipe, imagine a scenario whereby the menu of one internal, company-owned website needs to be displayed within an area of another, separately maintained, company-owned website. Using a web service or other ...

Get MooTools 1.3 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.