Back to skills
SKILL.md
Instagram Scraper
ASecurityA browser-based Instagram profile discovery and scraping tool. ```yaml --- name: instagram-scraper description: Discover and scrape Instagram profiles from your browser. emoji: πΈ version: 1.0.3 author: influenza tags: - instagram - scraping - social-media - influencer-discovery metadata: clawdbot: requires: bins: - python3 - chromium config: stateDirs: - data/output - data/queue - thumbnails outputFormats: - json - csv --- ```
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 11, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add johnalbertini14-glitch/openclaw-skills --skill instagram-scraper --agent claude-codeAre you the author of Instagram Scraper?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-instagram-scraper)# Instagram Profile Scraper
A browser-based Instagram profile discovery and scraping tool.
```yaml
---
name: instagram-scraper
description: Discover and scrape Instagram profiles from your browser.
emoji: πΈ
version: 1.0.3
author: influenza
tags:
- instagram
- scraping
- social-media
- influencer-discovery
metadata:
clawdbot:
requires:
bins:
- python3
- chromium
config:
stateDirs:
- data/output
- data/queue
- thumbnails
outputFormats:
- json
- csv
---
```
## Overview
This skill provides a two-phase Instagram scraping system:
1. **Profile Discovery**
2. **Browser Scraping**
## Features
- π - Discover Instagram profiles by location and category
- π - Full browser simulation for accurate scraping
- π‘οΈ - Browser fingerprinting, human behavior simulation, and stealth scripts
- π - Profile info, stats, images, and engagement data
- πΎ - JSON/CSV export with downloaded thumbnails
- π - Resume interrupted scraping sessions
- β‘ - Auto-skip private accounts, low followers, empty profiles
#### Getting Google API Credentials (Optional)
1. Go to [Google Cloud Console](https://console.cloud.google.com/)
2. Create a new project or select existing
3. Enable "Custom Search API"
4. Create API credentials β API Key
5. Go to [Programmable Search Engine](https://programmablesearchengine.google.com/)
6. Create a search engine with `instagram.com` as the site to search
7. Copy the Search Engine ID
## Usage
### Agent Tool Interface
For OpenClaw agent integration, the skill provides JSON output:
```bash
# Discover profiles (returns JSON)
discover --location "Miami" --category "fitness" --output json
# Scrape single profile (returns JSON)
scrape --username influencer123 --output json
```
## Output Data
### Profile Data Structure
```json
{
"username": "example_user",
"full_name": "Example User",
"bio": "Fashion blogger | NYC",
"followers": 125000,
"following": 1500,
"posts_count": 450,
"is_verified": false,
"is_private": false,
"influencer_tier": "mid",
"category": "fashion",
"location": "New York",
"profile_pic_local": "thumbnails/example_user/profile_abc123.jpg",
"content_thumbnails": [
"thumbnails/example_user/content_1_def456.jpg",
"thumbnails/example_user/content_2_ghi789.jpg"
],
"post_engagement": [
{"post_url": "https://instagram.com/p/ABC123/", "likes": 5420, "comments": 89}
],
"scrape_timestamp": "2025-02-09T14:30:00"
}
```
### Influencer Tiers
| Tier | Follower Range |
|-------|-------------------|
| nano | < 1,000 |
| micro | 1,000 - 10,000 |
| mid | 10,000 - 100,000 |
| macro | 100,000 - 1M |
| mega | > 1,000,000 |
### File Outputs
- **Queue files**: `data/queue/{location}_{category}_{timestamp}.json`
- **Scraped data**: `data/output/{username}.json`
- **Thumbnails**: `thumbnails/{username}/profile_*.jpg`, `thumbnails/{username}/content_*.jpg`
- **Export files**: `data/export_{timestamp}.json`, `data/export_{timestamp}.csv`
## Configuration
Edit `config/scraper_config.json`:
```json
{
"google_search": {
"enabled": true,
"api_key": "",
"search_engine_id": "",
"queries_per_location": 3
},
"scraper": {
"headless": false,
"min_followers": 1000,
"download_thumbnails": true,
"max_thumbnails": 6
},
"cities": ["New York", "Los Angeles", "Miami", "Chicago"],
"categories": ["fashion", "beauty", "fitness", "food", "travel", "tech"]
}
```
## Filters Applied
The scraper automatically filters out:
- β Private accounts
- β Accounts with < 1,000 followers (configurable)
- β Accounts with no posts
- β Non-existent/removed accounts
- β Already scraped accounts (deduplication)
## Troubleshooting
### Login Issues
- Ensure credentials are correct
- Handle verification codes when prompted
- Wait if rate limited (the script will auto-retry)
### No Profiles Discovered
- Check Google API key and quota
- Verify Search Engine ID is configured for instagram.com
- Try different location/category combinations
### Rate Limiting
- Reduce scraping speed (increase delays)
- Use multiple Instagram accounts
- Run during off-peak hours
Files in this skill
- SKILL.md
- _meta.json
Attribution
Related skills
View all in content-marketing βComments
Loading commentsβ¦
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.