看门狗密切关注世界的变化。阅读更多: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如何拆分字符串(基于各种分隔符),但不保留空格?   解析。Json格式的txt文件和knime中的java   java Spring rest api为什么在rest api调用的响应中更改了数据类型   升华文本3抛出java。lang.ClassNotFoundException,而记事本++不存在   java Android指纹扫描仪在尝试5次后停止工作?   java Android如何设置精确的重复报警?   java如何使用HTTPGET connect为access API输入用户名和密码   java当测试报告显示没有测试失败时,Gradle为什么说“有失败的测试”?   用Gson实现java获取响应   MapReduce程序中函数错误的java不可映射参数   java spring安全性不符合自动代理的条件   java GWT使用异步回调进行同步/阻塞调用   java奇怪的类数组问题无法在jsp中显示   如何在java中使用PrinterJob使用epl打印条形码   java如何在JTable中居中单元格   将Java Mockito测试转换为Kotlin   html Java正则表达式模式匹配到多个相同标记   testCompile中缺少java Gradle(Android)多项目依赖项   在输入提示后输入字符串时发生java FileNotFoundException