I am attempting to retrieve information from a Health Inspection website, then parse and save the data to variables, then maybe save the records to a file. I suppose I could use dictionaries to store the information, from each business.
The website in question is: http://www.swordsolutions.com/Inspections.
Clicking [Search] on the website will start displaying information.
I need to be able to pass some search data to the website, and then parse the information that is returned into variables and then to files.
I am fetching the website to a file using:
import urllib
u = urllib.urlopen('http://www.swordsolutions.com/Inspections')
data = u.read()
f = open('data.html', 'wb')
f.write(data)
f.close()
This is the data that is retrieved by urllib: http://bpaste.net/show/126433/ and currently does not show anything useful.
Any ideas?