Discover emerging artists from Instagram hashtag pages for GalleryTalk.io outreach. Use when the user wants to find artists via hashtag (e.g., "/scrape-hashtag photography", "find artists from
Discover emerging artists (1K-50K followers) from Instagram hashtag pages who create original visual art.
/scrape-hashtag <hashtag_name>
Looking for: Painters, photographers, illustrators, printmakers creating original work with 1K-50K followers.
Skip: AI art, galleries, 3D/sculptors, NFT accounts, bots, accounts outside follower range.
bun run cli job create hashtag <hashtag_name>
bun run cli job start <job_id>
navigate to https://www.instagram.com/explore/tags/<hashtag_name>/
Wait 3 seconds for load.
For each post in the grid:
https://www.instagram.com/<username>/references/ai-evaluation.md)Use JavaScript to get: username, full name, bio, followers, following, posts count.
bun run cli db save-artist '{"username": "<username>", "fullName": "<name>", "bio": "<bio>", "followersCount": <n>, "followingCount": <n>, "postsCount": <n>}'
Run JavaScript to log URLs and get captions:
var posts = document.querySelectorAll('a[href*="/p/"]');
var data = [];
for(var i=0; i<10 && i<posts.length; i++){
var a = posts[i];
var img = a.querySelector('img');
if(img && img.src){
var sc = a.href.split('/p/')[1].split('/')[0];
console.log('IMGURL:' + sc + ':' + img.src);
data.push({shortcode: sc, alt: img.alt || ''});
}
}
JSON.stringify(data)
Read URLs from console:
read_console_messages(tabId, pattern="IMGURL", limit=20)
mkdir -p ./data/images/<username>
curl -s -o "./data/images/<username>/<shortcode>_0.jpg" "<image_url>"
bun run cli db save-post '{"shortcode": "<sc>", "artistUsername": "<user>", "postType": "image", "caption": "<alt>"}'
bun run cli db update-post-image "<shortcode>" "./data/images/<username>/<shortcode>_0.jpg"
bun run cli job complete <job_id> <artists_scraped>
bun run cli job fail <job_id> "<error_message>"
references/ai-evaluation.md for the full artist qualification prompt and scoring criteria.