BlockOut2024 is an automated script designed to help you block a predefined list of celebrities from Instagram and Twitter.
- Automatically logs into your social media accounts.
- Reads a list of usernames from a text file.
- Blocks the listed users, providing a success or error message for each.
Clone the repository to your local machine:
git clone https://github.com/incandenza-11/blockout2024.git
cd blockout2024
Have Docker installed and running.
- Run it inside docker:
docker-compose run -it --build blockout
Alternatively, you can just use the shortcut:
make start
- Run the following command to install required dependencies:
pip install -r requirements.txt
- Execute the script:
python3 main.py
This script requires your Instagram username and password to log in to your account. The credentials are used locally on your machine and are not stored or transmitted to any third party.
When you run the script, it will prompt you to enter your username and password. The script will then log in to your account, read the list of usernames from the file, and attempt to block each user. It will provide a message indicating whether the blocking was successful or if the user was already blocked or does not exist.
The list of usernames that will be blocked when executed are:
resources/usernames/instagram.txt
for Instagramresources/usernames/twitter.txt
for Twitter
main.py
: The main script that executes the blocking functionality.requirements.txt
: Lists the Python dependencies required by the script.resources/usernames/
: The directory where all the usernames to be blocked are located; categorized by social media type.
If you'd like to contribute to this project, please fork the repository and use a feature branch.
This project is licensed under the MIT License - see the LICENSE
file for details.
Special thanks to:
- the contributors of instagrapi
- the contributors of twitter-api-client