Cannot connect to proxy error on requests.get() or requests.post() in python
问题 I have two URLs to fetch data from. Using my code, the first URL is working, whereas the second URL is giving ProxyError . I am using requests library in Python 3 and tried searching the problem in Google and here, but with no success. My code snippet is: import requests proxies = { 'http': 'http://user:pass@xxx.xxx.xxx.xxx:xxxx', 'https': 'http://user:pass@xxx.xxx.xxx.xxx:xxxx', } url1 = 'https://en.oxforddictionaries.com/definition/act' url2 = 'https://dictionary.cambridge.org/dictionary