🐦 Check for new tweets from a set of users and send them to customizable webhooks
A simple script that will check on a list of user's last tweets and send them to the specified webhook if there's a new one, on a configurable timer.
Big thanks to the Twikit API wrapper for making this possible!
pip install -r requirements.txt
python twitter2dp.py
account_to_check
- The twitter username (not ID) of the person you want to check the tweets of
posting_text
- The text that should be sent to the webhook. The variable <tweeklink>
will be replaced with the tweet's URL.
webhook_url
- The URL that they webhook data should be sent to
webhook_avatar_url
- a URL pointing to the image the webhook should use as it's profile picture
webhook_name
- a name the webhook should use when posting