Atualizar Readme.md

This commit is contained in:
Pablo César Galdo Regueiro 2024-10-28 20:07:48 +01:00
parent 695ff01d32
commit 800f4783ee

View file

@ -45,6 +45,10 @@ To set up the bot with your Mastodon account, follow these steps:
access_token='YOUR_API_TOKEN',
api_base_url='https://YOUR_MASTODON_INSTANCE'
)
3. **Run the bot**: Execute the script to start monitoring for screenshots.
3. **Configure the script**: Replace the words that identify your account and you are looking for:
```python
# Check if it contains fragments of your posts
if 'nickname' in text_in_image or 'Name' in text_in_image:
4. **Run the bot**: Execute the script to start monitoring for screenshots.
- `python3 bot_mastodon.py`