![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python网络爬虫
Little_Yuu
Life must be pythonic.
展开
-
python网络爬虫——使用selenium抓取东方财富网上市公司公告
@TOC一、在爬取公告之前需要了解一些基本信息(1)东方财富网是否需要登陆才能查看全部股票信息不需要二、使用selenium操作浏览器获取数据的基本流程(1)打开“东方方财富网>数据中心>公告大全>沪深A股公告”页面;(2)在“个股公告查询”输入框中数据需要查询的股票代码,并点击“查询”按钮;(3)此时浏览器会自动在新的窗口打开指定股票公告页面;(4)遍历所有公告...原创 2020-06-19 01:02:38 · 6334 阅读 · 6 评论 -
python网络爬虫之Max retries exceeded with url错误
ConnectionError: HTTPSConnectionPool(host=‘cq.feibaos.com’, port=443): Max retries exceeded with url: /news/lists-notice.html?req=t11-320100&word=&idx=49 (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc4原创 2020-06-19 00:59:29 · 823 阅读 · 0 评论