Skip to content

engdeathmatch/RssToTwitterPy3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RssToTwitterPy3

Watches multiple RSS feeds and publishes updates to Twitter. Written in Python3. Includes the first image found on the post in the tweet when posting to Twitter.

Installation

  1. Ensure you have the following packages installed:
  • feedparser
  • twython
  • bs4
  • configparser
  1. Create a Twitter API app
  2. Edit Twitter settings in auth.txt
  3. Edit RSS feeds to monitor in feeds.txt
  4. Update tweet variable (line 31) with any specific text you'd like to tweet out with the post.

Output

When run manually, if no entries are found for a feed, it will output:

No entries found.

If a new post is found, it will display the link of that post before tweeting out the message.

To Do

While everything generally works, I haven't done much with the error handling on this yet. If something happens that is unexpected, the application does not currently gracefully handle it.

About

Watches multiple RSS feeds and publishes updates to Twitter. Written in Python3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages