Python Requests throwing SSLError

前端 未结 24 2648
小蘑菇
小蘑菇 2020-11-22 02:49

I\'m working on a simple script that involves CAS, jspring security check, redirection, etc. I would like to use Kenneth Reitz\'s python requests because it\'s a great piec

24条回答
  •  甜味超标
    2020-11-22 03:38

    If you want to remove the warnings, use the code below.

    import urllib3
    
    urllib3.disable_warnings()
    

    and verify=False with request.get or post method

提交回复
热议问题