watchdogs 




Watchdogs to keep an eye on the world's change.
Intro
- This is a web app based on fastapi, databases, uniparser, torequests.
- Smoothly deploy by pip:
pip install -U watchdogs;python3 -m watchdogs - Simple to create new crawler with the Web UI, not like old ways to duplicate crawler code.
- All the crawlers run in the async environment.
- Almost all the buttons have the title attribute to describe the features in Web UI, which means doc lay on the UI.
- Release your hands from repetitive refreshing on the browser, subscribe the tasks with RSS reminder extensions, such as Feedbro or RSS Feed Reader. Even some custom reminder inherit watchdogs.callbacks.Callback.
Usage
-
pip install -U watchdogs
-
python -m watchdogs
-
Open with a browser: http://127.0.0.1:9901
Args
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_std_log:
remove stdout log for clean stream
- mute_file_log:
ignore file log located at {HOME_PATH}/watchdogs folder.
- md5_salt:
md5_salt for custom md5(password) / md5(rss_tag)
- config_dir:
config dir to save the logs and config files, if using sqlite include sqlite file. defaults to {HOME_PATH}/watchdogs
- use_default_cdn:
If Config.cdn_urls not set, and use_default_cdn is True, will use online js/css cdn 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
Quick Start to Create New Task
Screenshots
- Welcome Page (Tasks Page).
Here you can see all the tasks meta, goto RSS / Mobile Lite Page, and do some operations to the tasks.
- New Task Page.
Here based on the latest uniparser web app, to create new rules and also tasks.
- Rules Page.
Do some operations for the rules.
- API page.
Based on fastapi
/docswhich is generated automatically.
- Mobile Page (Lite View).
For mobile phone to glimpse the latest result for the current 30 tasks.
Metadata
Release files for watchdogs 1.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| watchdogs-1.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / watchdogs-1.3.5-py3-none-any.whl
| Download URL | watchdogs-1.3.5-py3-none-any.whl |
|---|---|
| Size | 301.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7677f2ab44da561fc5300256ec1cc4391be67adb68d245a5cfe40c8521907ab
|
|
BLAKE2b-256 checksum How to use checksums |
35495a63659bbe81c30dcde78b1cc87ccc12b58cbf3ae1c94ee4d31ed180b9d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|