blob: 88744371815de6984cdaf41ffd854915b8f4f891 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Watchnews
Aggregate RSS and archive website for later diffing.
# USAGE
./watchnews-cli --help
usage: watchnews-cli [-h] [--add URL] [--update] [--update-feed ID]
[--remove ID] [--list] [--web] [--db DBPATH] [--rss]
Process some integers.
optional arguments:
-h, --help show this help message and exit
--add URL add feed with URL
--update Update all known feeds
--update-feed ID Update feed with ID
--remove ID Remove feed with ID
--list List all registered feeds
--web Run web interface
--db DBPATH Path to sqlite database file
--rss Dump a RSS feeds
## Example
./watchnews.py --add 'http://blog.fefe.de/rss.xml?html'
./watchnews.py --update
./watchnews.py --web
# Installing
One way to install it is to use pip:
pip3 install --upgrade --user https://www.xapek.org/git/yvesf/watchnews/archive/master.zip
On debian this requires at least:
python3-dev build-essential libxslt1-dev zlib1g-dev
|