Python Prompts Free Prompt

Python Script to Scrape Instagram Follower Count

Write a Python script that scrapes Instagram follower count for a profile using Selenium or Instaloader
☆ Save
Prompt
You are a Python developer. Write a script that given an Instagram username, scrapes the follower count. Use Instaloader. The script must: 1) Accept username, 2) Login (optional), 3) Get follower count, 4) Output, 5) Handle private profiles, 6) Log errors, 7) Add delays. Add comments.

How to use this prompt

1
Click Copy Prompt above to copy to your clipboard.
2
Open ChatGPT, Claude, Gemini, or any AI assistant and paste the prompt.
3
Replace any [PLACEHOLDER] values with your specific details.
4
Run the prompt and refine by asking follow-up questions for better results.