I'm trying to download a file with requests
http_response = requests.get(url)
And I keep getting this error
SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1131)'))
Stack says it's a configuration issue with the library and suggests configuring it however I haven't found any solutions that end up working.
Any suggestions on fixing this error? (code was working 2 months ago when I last ran)