This simple script automates the process of uploading posts to Instagram with images, captions generated from a CSV file. It uses the instagrapi
library for interacting with Instagram, and requests
and Pillow
libraries for handling images. You can modify Promo text inside the script in param name "promo_text"
-
Clone the Repository:
git clone https://github.com/yourusername/yourrepository.git cd yourrepository
-
Install the Required Dependencies:
pip install -r requirements.txt
-
Configure Your Credentials
cl.login(username='your_instagram_username', password='your_instagram_password')
-
Specify the Path to Your CSV File
csv_file_path = 'path/to/your/csvfile.csv'
-
Run the script
python script.py