People are finding themselves on thousands of hate- and abuse-promoting lists. In order to provide a first step against destructive behavior, this python script will block all the creators of these lists. Every blocked Twitter user gets logged to the terminal (together with the list's name).
When you block a list creator, you are automatically removed from the list. This is regular Twitter behavior.
Note: This script currently doesn't evaluate the origin of the list in any way. It will indiscriminately block everyone. You can still manually unblock people you've had positive experiences with by finding their Twitter usernames in the terminal logs.
- Install Python3.
- If you don't have pip (python package manager), install it as well.
- Open a terminal in the project's directory and run
pip install -r requirements.txt
. - Copy .env.example to
.env
and enter your Twitter app keys. - Start the script with
python start.py
.
- This is an extremely simple script, made in half an hour to give a little help. All contributions are welcome via complete, and documented, pull request.
- Twitter has an API rate limit. If/when you hit the rate limit, the script will end abruptly with an error message. Since you can just restart the script manually every 15 minutes (= the timing that Twitter uses for rate limiting), no error handling or retrying was added.