https://github.com/techut30/instamutuals
https://github.com/techut30/instamutuals
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/techut30/instamutuals
- Owner: techut30
- Created: 2024-09-12T14:05:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T00:01:24.000Z (almost 2 years ago)
- Last Synced: 2026-01-01T09:21:47.516Z (6 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instagram Profile Info Downloader and Mutual Followers Finder
This Python script uses the [Instaloader](https://github.com/instaloader/instaloader) library to download the list of followers and followings for two Instagram profiles. It also compares the two profiles to find mutual followers and followings, saving the results in text files.
## Features
- Download followers and followings for any Instagram user.
- Compare two Instagram users and find their mutual followers and followings.
- Save the results in organized text files for easy access.
## Requirements
- Python 3.x
- [Instaloader](https://pypi.org/project/instaloader/)
## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/yourusername/instagram-profile-info-downloader.git
cd instagram-profile-info-downloader
```
2. **Install the dependencies:**
```bash
pip install instaloader
```
3. **Login to Instagram:**
- Open the `download_profile_info` function in the script.
- Replace `"your_username"` and `"your_password"` with your Instagram credentials.
## Usage
1. **Run the script:**
```bash
python script.py
```
2. **Enter the Instagram usernames** when prompted:
- The script will ask for two Instagram usernames.
- It will then download their followers and followings and find their mutual followers and followings.
3. **Results:**
- The script will create a folder for each username, storing their followers and followings in `followers.txt` and `following.txt`.
- A folder for mutuals will be created, containing `mutual_followers.txt` and `mutual_followings.txt`.
## Example
```bash
Enter the first username: user1
Enter the second username: user2
```
## Output:
- `user1_data/followers.txt`
- `user1_data/following.txt`
- `user2_data/followers.txt`
- `user2_data/following.txt`
- `user1_and_user2_mutuals/mutual_followers.txt`
- `user1_and_user2_mutuals/mutual_followings.txt`
## Notes
- **Instagram Rate Limits:** Instagram may impose rate limits, so avoid making too many requests in a short time.
- **Privacy:** Make sure you comply with Instagram's privacy policies and only use this script for ethical purposes.
## Contributing
Feel free to fork this repository and submit pull requests with improvements or additional features!
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.