News-M--用于采集财经新闻网站新闻, 将数据聚合、归类并写入表格之中。 项目的cloud分支是定时版本可以放在服务器中定时运行
News-M--Get news from mainstream financial news websites, aggregate, categorize, and write data into tables.
2022-10-05: 项目已经在服务器停用了,未来的更新、维护不再那么即时。失效接口自行更换即可。(市场年年有机会)
2022-12-04: 将私有项目News-D的未开源部分上传,专用于处理个股版本,包含交易明细、买卖盘、券商机构等(在Code.txt添加代码,在main文件打开接口即可)
网易财经、同花顺财经、金融界财经、凤凰财经、东方财富、新浪财经、新华网财经、松果财经、新闻联播文字版、投资界, 数据会生成表格存放在Finance文件夹中
NetEase Finance and economics, flush finance and economics, finance and economics in financial circles, Phoenix finance and economics, Oriental Fortune, sina finance and economics, Xinhuanet finance and economics, pinecone finance and economics, news broadcast text version and investment circles. The data will be generated into tables and stored in the finance folder
#Run
#新闻联播文字版、个股处理功能、网盘资料备份默认关闭,自行开启。
pip install -r requirements.txt
python3 main.py
Windows新闻文件生成在桌面, Linux/Macos生成在运行目录下
Windows system is generated on the desktop, Linux/Macos is generated in the running directory
视频展示 | Video display: https://www.bilibili.com/video/BV1dK4y1M7d4
使用教程 | Tutorial: https://6923403.github.io/post/news_wps
-
更多设置, 请查看教程
-
More settings, check out the tutorial
实机测试:
Running in real environment
-
Windows7 + python3.7
-
Ubuntu20.04 + python3.8
-
Macos11.4 + python3.9
提取财经新闻标题、链接进行整合排列写入表格,省去繁琐步骤, 提高效率。过去每日会大约花费一小时时间用来获取新闻资讯,效率极低,目前10分钟即可全部阅完。
Extracting the financial news headlines and links for integration and arrangement and writing them into the table eliminates the complicated steps of searching the website, opening the web page, viewing the title, opening the web page, closing the web page and continuing to view the next one. In the past, it took one hour to get up early to watch the news, but now it can be done in 10 minutes.
MIT License