News-M Tutorial
https://github.com/VcSpace/News-M.git
闻讯——获取主流财经新闻网站新闻信息获取, 将数据聚合、归类并写入表格中 。
News-M –News Spider, Crawling news from mainstream financial news websites, categorize and write data into tables .
目的
时间与精力是有限的 为了节省查阅信息的时间成本故此创作News-M用来快捷提取有效信息, 节约时间, 放松精力。
Time and energy are limited. In order to save the time cost of consulting information, news-m is created to quickly extract effective information, save time and relax energy.
运行程序
#Run
pip install -r requirements.txt
python3 main.py
如果你想启用网盘功能 在命令行运行bypy info
获取token, 在main.py将bd_flag
改为True
If you want to enable the network disk function, run bypy info
on the command line to get the token, and BD will be displayed in main.py
Change bd_flag
to true
如果你想在服务器中定时运行 请修改当前main为start
函数,添加相应的库即可
If you want to run regularly in the server, please modify the current main to the start
function and add the corresponding library
可能还需要看这篇文章 https://vcvvvc.github.io/post/linux_ssh_nohup/
You may also need to read this articlehttps://vcvvvc.github.io/post/linux_ssh_nohup/
Note
1. 操作完成后生成Finace文件夹 Windows系统在桌面 Linux在运行目录下
1. After the operation, the finace folder will be generated. The windows system is on the desktop and the Linux is in the running directory
2. 表格行高列宽是可以自动调整的 不用自己手动一行行的调整 具体操作看图
2. The height and width of a table row can be adjusted automatically. You don't need to adjust one row manually. See the figure for the specific operation
3. 享受阅读的乐趣
3. Enjoy reading