I'm writing code that needs to reach out to this JSON file that's online, query it for data, and return the results of the search.
I tried the following code:
adsb_data = urllib2.urlopen('http://website.com')
That will throw a urllib2.HTTPError: HTTP Error 403: Forbidden
So obviously I'm not going about it the best way. What would be the best way to open that JSON page, scrape it, and display results? I feel like there's a much more elegant and pythonic way to do this.