Need help with a 407 response? I can't solve this problem. I had a parser for a Korean car site that worked daily for one month until it showed a 407 error. I googled that the problem is solved by proxy substitution, but either I'm doing something wrong, or the proxy does not fix the problem.
Sample code to test:
import requests
proxies = {
'https': 'http://user:pass@xx.xxx.xx.xxx:xxxx'
}
url = 'https://api.encar.com/search/car/list/mobile?count=true&q=(And.Hidden.N._.(C.CarType.N._.Manufacturer.%EB%A7%88%EC%AF%94%EB%8B%A4.))&sr=%7CModifiedDate%7C0%7C200&inav=%7CMetadata%7CSort'
response = requests.get(url, proxies=proxies)
print(response.status_code)