【发布时间】:2019-06-30 18:16:11
【问题描述】:
我无法从 biblegateway.com 获取 url,它显示错误为
urllib2.URLError: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure> 请不要重复,因为我浏览了重复显示的站点,我访问该站点时无法理解。
这是我的代码
import urllib2
url = 'https://www.biblegateway.com/passage/?search=Deuteronomy+1&version=NIV'
response = urllib2.urlopen(url)
html = response.read()
print html
【问题讨论】:
-
我正在使用 python 2.7 @dave_thompson_085
标签: python python-2.7 urllib2