I am trying to download a web page from a local program accessed thru an api. It works thru a browser and it works in python but it appears to hang and just sits there like the request never closes. It actually prints the contents to shell.
Any ideas?
Simi
import urllib.request
link=""" status)"""
print(link)
x = urllib.request.urlopen(link)
print(x.read())
Any ideas?
Simi
import urllib.request
link=""" status)"""
print(link)
x = urllib.request.urlopen(link)
print(x.read())