Search for Twitter mentions containing a specific string and retweet them with a message (picked randomly from a list of configured messages).
- python >= 3.6
pip install tweepy
pip install pyyaml
git clone [email protected]:Pictor13/retweeter.git && cd retweeter
- duplicate
.dist
config file and customise them -
cp config.yaml.dist config.yaml
and put your config
-
- remember to set the secrets in the API.authentication config
python retweet.py --help
to show available parameters
python retweet.py --dry-run false
to run actually performing operations