See the following link: How to Graph the HTML source of a website
This will allow you to grab the source, and you should parse it as needed using string manipulations and/or regular expressions to...