Estoy tratando de OBTENER una URL usando Python y la respuesta es JSON. Sin embargo, cuando corro
import urllib2
response = urllib2.urlopen('https://api.instagram.com/v1/tags/pizza/media/XXXXXX')
html=response.read()
print html
The html is of type str and I am expecting a JSON. Is there any way I can capture the response as JSON or a python dictionary instead of a str.
response.read()
returning a valid JSON string?