Skip to content

Nisar2001/rss-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WHAT

Blog-bot is a simple Python script to parse an RSS feed and if a new post is noticed post its title and URL in a given subreddit on Reddit.
My original idea was to follow a blog and post new content in a subreddit, but the bot can be used with any RSS feed (news, blog, tech, anything).

HOW

Copy and rename the example_config.txt to config.txt. Edit the fields within the file. To get the client ID and secret you must visit the Apps page on Reddit, create a new application with "Script" type.
After the config file is filled with the required data you can start the script. To keep it running in the background use nohup: nohup python3 bb.py &
The default delay between 2 RSS fetches is 10 minutes.

CONTRIBUTE

Feel free to clone the repo, edit the script and create Pull Requests. I'm open for optimisations, new features, fixes, etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages