1 Star 0 Fork 0

Channing_Wong / 打火石

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

flint 打火石

介绍

Flint 是一个将网页上特定内容爬取,并按时进行推送的机器人,也可以生成csv文件。 定时爬取,定时推送。

安装教程

  1. 请使用python3.6及以上
  2. 请输入以下命令安装依赖包:

pip3 install -r requirements.txt

配置

目录: <path-to-paroject>/config

使用说明

快速使用: python brk.py run --test

详情: python brk.py --help

usage: brk.py [-h] [-i] [-t] [-j JOB_ID [JOB_ID ...]] run

positional arguments:
  run                   运行打火石

optional arguments:
  -h, --help            show this help message and exit
  -i, --init            初始化out目录
  -t, --test            测试运行
  -j JOB_ID [JOB_ID ...], --job_id JOB_ID [JOB_ID ...]
                        指定运行的job id, 默认全部运行

如果要自行开发新功能

  1. 将新功能代码开发在plugins目录下
  2. 新的apscheduler的job放在job_master.py的Jobs类里
  3. job_master.JobMaster.load_jobs中规定任务的时间参数,务必添加job_id
MIT License Copyright (c) 2020 Channing_Wong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

将网页上特定内容爬取,并按时进行推送。 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/chann1n9/bilibili_ranking.git
git@gitee.com:chann1n9/bilibili_ranking.git
chann1n9
bilibili_ranking
打火石
master

搜索帮助