Closed sejaldua closed 4 years ago
something goes wrong in between
url = 'https://www.instagram.com/explore/locations/' + str(location_id) + '/?__a=1' response = requests.get(url)
and
data = response.json() lat = data['graphql']['location']['lat'] lng = data['graphql']['location']['lng']
tried to debug this with print statements and i'm getting a JSONDecodeError when trying to call response.json()
response.json()
does anyone know what is going on here?
Instagram has delete this value in graphql in some locations.
something goes wrong in between
and
tried to debug this with print statements and i'm getting a JSONDecodeError when trying to call
response.json()
does anyone know what is going on here?