The idea is to share on Twitter the upvoted post but excluding posts from specific subreddits.
pip3 install -r requirements.txt
Copy praw-sample.ini and tweepy-sample.ini and put your settings.
Require a Twitter and Reddit app with their token in the config files.
This script generate a posts.json at every run with the list of posts to check if already posted.