看门狗密切关注世界的变化。阅读更多:https://github.com/ClericPy/watchdogs。

watchdogs的Python项目详细描述


watchdogsPyPIPyPI - WheelPyPI - Python VersionPyPI - DownloadsPyPI - License

关注网络世界的变化。在

例如post articles/news on the web portal/server api health/binge-watching/steam price fluctuation/github events/updates of comic and novel,等等。。。在

简介

中文文档

  1. 这是一个基于fastapidatabasesuniparsertorequests的web应用程序。在
  2. 通过pip顺利部署它:pip install -U watchdogs;python3 -m watchdogs
  3. 使用webui创建一个新的爬虫程序很简单,不像以前编写重复代码的方式。在
  4. 所有的爬虫程序都在异步环境中运行。在
  5. 几乎所有元素都有一个title属性来描述webui中的特性,这意味着文档位于UI之上。在
  6. 把你的手从重复刷新页面的浏览器中解放出来。
    1. 使用RSS提醒扩展订阅更改事件,例如Feedbro或RSS提要阅读器。在
    2. 实现继承自watchdogs.callbacks.Callback的类。在

使用

  1. pip install -U watchdogs

  2. python -m watchdogs

  3. Open the browser: http://127.0.0.1:9901

argeh3命令行>

python -m watchdogs -- -h

  • db_url

sqlite / mysql / postgresql(not test) url, which databases supports. Defaults to 'sqlite:///{HOME_PATH}/watchdogs/storage.sqlite'

  • password

init password, if null can be set on the first visit on web.

  • mute\u std_日志

remove stdout log for clean stream

  • mute_file_日志

ignore file log located at {HOME_PATH}/watchdogs folder.

  • md5\u盐

md5_salt for custom md5(password) / md5(rss_tag)

  • config\u dir

config dir to save the logs and config files, if using sqlite include sqlite file. defaults to {HOME_PATH}/watchdogs

  • use\u default_cdn

If Config.cdn_urls not set, and use_default_cdn is True, will use online js/css cdn links from staticfile.org.

  • **uvicorn_kwargs

uvicorn startup kwargs, such as port, host. Which can be set like: python -m watchdogs --port=9999 --host=127.0.0.1 --access-log=False

快速开始创建新任务

Quick Start Screenshots

Web用户界面

  1. 欢迎页面(任务页面)。在

Here you can see all the tasks meta, goto RSS / Mobile Lite Page, and do some operations to the tasks.

image

  1. 新建任务页。在

Here based on the latest uniparser web app, to create new rules and also tasks.

image

  1. 规则页面。在

Do some operations for the rules.

image

  1. API页面。在

Based on fastapi/docs which is generated automatically.

image

  1. 移动页面(精简视图)。在

For mobile phone to glimpse the latest result for the current 30 tasks.

image

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用McClickListener单击了什么元素   Java时间戳在Oracle时间戳中不同情况下存储12 PM的奇怪行为   java无法使用事件总线对运行在不同机器上的垂直体进行通信   java Mockserver:收到请求后进行回调   java无法将Json字符串转换为Map<string,Object>   java如何按升序排列输出?   java视图行,带有oracle键。jbo。在SrCategoryParentIterator中找不到键[300100120394155]   javafxmysql连接示例   java正在等待加载完成   java是否可以将同一个有状态会话bean实例注入多个其他会话bean?   java无法让万向节检测离开或进入区域   使用JavaCV和OpenCV的java提供了dyld:lazy符号绑定失败:找不到符号:__sincos_stret   xml解析无法使用Java读取xml文档   java无法更改工具栏的颜色   javaapachesshd和JSCH   java无法在firebase存储中检索图像url   java问题与executeUpdate   同一应用程序中不同活动之间的java SharedReference