This Python project is designed to block a tweet author and his followers on Twitter.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have Python installed on your machine. You can download Python here.
- Clone the repository
git clone https://github.com/M-Bahy/twitter-mass-blocker.git
- Install the required packages
pip install -r requirements.txt
- Rename the
.env.example
file to.env
. - Open the
.env
file and fill in your details.
To run the script, copy the links to the tweets you want to block their author and his followers in targets.txt then simply double click on the run.bat
file
- You have to disable two-factor authentication on your Twitter account to be able to run the script.
- The script is only tested on windows.
- The script will not block private accounts.
- The script will not block accounts that have blocked you.
- Since the script is running on top of the browser version of Twitter, it usually loads 40 followers only.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Feel free to contribute to this project by creating a pull request or submitting an issue.