How to use urllib2 to get a webpage using SSLv3 encryption

后端 未结 3 908
甜味超标
甜味超标 2021-01-19 08:40

I\'m using python 2.7 and I\'d like to get the contents of a webpage that requires sslv3. Currently when I try to access the page I get the error SSL23_GET_SERVER_HELLO, and

3条回答
  •  悲哀的现实
    2021-01-19 09:16

    Since I was unable to do this using urllib2, I eventually gave in and moved to using the libCurl bindings like @Bruno had suggested in the comments to pastylegs answer.

提交回复
热议问题