A bot that sends RSS feed notifications to your IRC channel
- Set values of the variables as per your case:
server
,channel
,nick
- Set the value of
feed_url
to your feed url. - The interval of fetching feeds depends on the relational statement in the last loop of the program.
By default the feeds are fetched after 3 PING messages are received from the IRC network.
On libera.chat network, the interval between two consecutive PING are approximately 260 seconds.
Requirements: A computer that can boot (optional)
Operating System: GNU/Linux
(Debian)
sudo apt install python3 python3-pip -y
pip install feedparser
wget https://raw.githubusercontent.com/fury999io/IRC-RSS-Feeds-Bot/main/start.py
nohup python3 start.py > /dev/null 2>&1 &
kill -9 $(ps aux | grep 'python3' | grep 'start.py' | awk '{print $2}')