From ad-scraper-skill
Scrape Facebook Ad Library for a brand. Extract videos, images, transcripts, and ad metadata. Use when user provides a Facebook Ad Library URL or asks to scrape ads.
npx claudepluginhub cheeky-shane/ad-scraper-skillThis skill is limited to using the following tools:
Scrapes ads from Facebook's Ad Library, downloads media, and enriches with transcripts/descriptions.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Dynamically discovers and combines enabled skills into cohesive, unexpected delightful experiences like interactive HTML or themed artifacts. Activates on 'surprise me', inspiration, or boredom cues.
Generates images from structured JSON prompts via Python script execution. Supports reference images and aspect ratios for characters, scenes, products, visuals.
Share bugs, ideas, or general feedback.
Scrapes ads from Facebook's Ad Library, downloads media, and enriches with transcripts/descriptions.
// Use browser MCP to navigate
mcp__playwright__browser_navigate({ url: "https://www.facebook.com/ads/library/..." })
Use mcp__playwright__browser_evaluate to run:
// Videos
Array.from(document.querySelectorAll('video')).map(v => v.src || v.querySelector('source')?.src)
// Images (filter for ad content, not UI)
Array.from(document.querySelectorAll('img')).filter(img =>
img.src.includes('scontent') && img.width > 200
).map(img => img.src)
Scroll down and repeat to load more ads.
mkdir -p {brand}/videos {brand}/images
curl -L -o "{brand}/videos/{brand}-video-1.mp4" "{video-url}"
curl -L -o "{brand}/images/{brand}-image-1.jpg" "{image-url}"
Videos with audio:
# Check for audio
ffprobe -v error -select_streams a -show_entries stream=codec_type -of csv=p=0 video.mp4
# Extract audio and transcribe
ffmpeg -y -i video.mp4 -ar 16000 -ac 1 /tmp/audio.wav
whisper /tmp/audio.wav --model base --output_format txt --output_dir /tmp/transcripts/
Images: Use vision capability to describe visual content, message, and style.
Structure with:
brew install openai-whisper)See reference.md in this skill folder for detailed documentation, ad format categories, and complete data structure examples.