Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanner-davison/instagram_bot_pybot
*DO NOT USE -- *WILL BE BLOCKED By Instagram This script automates the process of following users on Instagram by targeting the followers of specified users. It logs activities and handles errors gracefully.
https://github.com/tanner-davison/instagram_bot_pybot
Last synced: 2 months ago
JSON representation
*DO NOT USE -- *WILL BE BLOCKED By Instagram This script automates the process of following users on Instagram by targeting the followers of specified users. It logs activities and handles errors gracefully.
- Host: GitHub
- URL: https://github.com/tanner-davison/instagram_bot_pybot
- Owner: Tanner-Davison
- Created: 2024-06-20T04:43:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T21:51:27.000Z (4 months ago)
- Last Synced: 2024-10-09T17:14:53.890Z (2 months ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instagram Bot
This script automates the process of following users on Instagram by targeting the followers of specified users. It logs activities and handles errors gracefully.
## Features
- **Login Automation:** Logs into Instagram using provided credentials.
- **Follow Followers:** Follows a specified number of followers for each targeted user.
- **Error Handling:** Logs errors during the process for troubleshooting.
- **Delay Management:** Includes delays between actions to avoid being flagged by Instagram.## Dependencies
- **instabot:** Python library used for automating Instagram actions.
Install the `instabot` package via pip if it's not already installed:
```bash
pip install instabotReplace `username=""` and `password=""` with your Instagram credentials in the script.
## Target Users:
Modify the `users_to_target` list with the Instagram usernames of the users whose followers you want to follow.
## Run the Script:
Execute the script using a Python interpreter.
## Usage
**Function to Follow Followers:**
The `follow_followers_of_user` function fetches followers of the specified user and follows a certain number of them.
## Configuration:
Adjust the `users_to_target` list and `users_to_follow_per_day` variable to fit your needs.
## Logging
The script logs activities and errors to `instagram_bot.log`. This helps in tracking the bot's actions and troubleshooting any issues.
## License
This project is licensed under the MIT License - see the LICENSE file for details.