PKUJohnson / OpenData

开源的金融投资数据提取工具,专注在各类网站上爬取数据,并通过简单易用的API方式使用
Apache License 2.0
1.3k stars 331 forks source link

ProxyError: HTTPSConnectionPool(host='www.anjuke.com', port=443) #5

Closed ahbon123 closed 6 years ago

ahbon123 commented 6 years ago

An proxyerror happens while following code was running, someone can help me to fix this issue? Thanks.

from opendatatools import realestate
city_list = realestate.get_city_list()
print(city_list)
> ProxyError: HTTPSConnectionPool(host='www.anjuke.com', port=443): Max retries exceeded with url: /sy-city.html (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x113aa5b70>: Failed to establish a new connection: [Errno 61] Connection refused',)))
PKUJohnson commented 6 years ago

这个应该是您网络的问题,我测试过是没有问题的。