When I use the code below, it returns the following error:
import urllib.request
print(urllib.request.urlopen(input(), proxies={
"http": "37.26.86.206",
"https": "37.26.86.206"
}))
returns
Traceback (most recent call last):
File "[path]", line 2, in <module>
print(urllib.request.urlopen(input(), proxies={
TypeError: urlopen() got an unexpected keyword argument 'proxies'
However, this was used in multiple answers here. Is this method just outdated, or is there a flaw in my code? Note: All code is included here.
Turns out it was removed in Python 3.5 Thank you everyone for your help!