An RSS/Atom bot for telegram channels
Make sure that you have installed Redis.
Download binary:
$ curl -L https://github.com/rossnomann/telefeed/releases/download/0.2.1/telefeed-0.2.1_x86_64-linux-gnu --output telefeed
$ chmod +x telefeed
Create config.yaml
:
token: bottoken
redis_url: 127.0.0.1:6379
# proxy: 'socks5://user:password@host:port'
# http proxies also supported
feeds:
'@channel': # channel username with @
- url: http://www.darkside.ru/rss/ # url to feed
kind: rss # kind of feed: rss/atom
-1234567890: # channel ID also supported
- url: https://www.youtube.com/feeds/videos.xml?channel_id=UCX5180-7TnjjHlHaVDdqnmA
kind: atom
- url: https://www.youtube.com/feeds/videos.xml?channel_id=UC2S1gZS9e8jb3Mx1Ce6YH5g
kind: atom
Run:
./telefeed config.yaml
- Fixed entries duplication.
- RIIR.
- Catch exceptions in getUpdates loop
- Migrate to aiotg.
- Add http/socks5 proxy support.
- Exclude entry title from unique constraint.
- Escape html entities in entry title.
- Display dates with a timezone.
- Catch feedparser exceptions.
- First release.
The MIT License (MIT)