I am trying to fetch data from webpage which contains table and then compare values in table with other table values.
Can I convert webpage into json data or dictionary in python?
e.g. I have url www.yahoo.com
how can I covert html data into json?
I tried
response = urllib2.urlopen(url)
data = str(response.read())
I get html output. If I try json.loads(data)
I get error raise ValueError("No JSON object could be decoded")
Is there way to pull data from table which is displayed on webpage