Python Prompts
Free Prompt
Python Script to Download Instagram Posts by Hashtag
Write a Python script to download Instagram posts (images/videos) for a given hashtag using Selenium or Instaloader
You are a Python developer. Write a script that downloads posts from Instagram for a specific hashtag. Use Instaloader. The script must: 1) Accept hashtag and number of posts, 2) Download images and videos to a folder, 3) Save metadata (caption, date, likes) to CSV, 4) Handle login (if required), 5) Respect rate limits, 6) Log progress, 7) Provide option to download stories. Add comments.