- Python 2.7+
- html2text: textproc/py-html2text in FreeBSD ports.
- feedparser: textproc/py-feedparser in FreeBSD ports.
$ fetchFeeds.py [-h] --feed FEEDURL [--info] [--prefix PREFIX] [--quiet] [--raw]-
-h
Show help message
-
-f, --feed
Feed URL, required
-
-i, --info
Only show feed info (title, URL)
-
-p, --prefix
Prefix of feed storage path
-
-q, --quiet
Quiet mode, no progress message is printed
-
-r, --raw
Raw mode, HTML tags is preserved.
The feeds would be stored in [directory-to-store-feeds] (cwd if no sepcified) with the file name to be the timestamp of the feed.
The html tag in original feed would be striped using html2text.