Solve requests.exceptions.SSLError: HTTPSConnectionPool abnormal

Some pages when using a scripting language (python) access may be an exception report requests.exceptions.SSLError

Solution:

Added to verify the request requests.get = False parameter can solve

 

But after such an amendment should also be a lot of warning

import urllib3
urllib3.disable_warnings () 

added two lines to eliminate the warning

Guess you like

Origin www.cnblogs.com/mlllily/p/12134621.html
Recommended