Python 3, urllib ... Reset Connection Possible?
- by Rhys
In the larger scale of my program the goal of the below code is to filter out all dynamic html in a web-page source code
code snippet:
try:
deepreq3 = urllib.request.Request(deepurl3)
deepreq3.add_header("User-Agent","etc......")
deepdata3 = urllib.request.urlopen(deepurl3).read().decode("utf8", 'ignore')
The following code is…