π¦ ClawHub
instagram-caption-scraper
by @rdk14
Scrapes and returns the caption from any public Instagram post or reel URL. Use this when the user shares an Instagram link and wants to extract, read, summa...
TERMINAL
clawhub install instagram-caption-scraperπ About This Skill
name: instagram-caption description: Scrapes and returns the caption from any public Instagram post or reel URL. Use this when the user shares an Instagram link and wants to extract, read, summarise, translate, or analyse the caption of that post or reel. version: 1.0.0 author: Raj openclaw: emoji: "πΈ" requires: bins: - python3 pip: - instaloader==4.14.1
Instagram Caption Scraper
Purpose
Extract the caption text from a public Instagram post or reel URL provided by the user.When to Use This Skill
Trigger this skill when the user:/p/ or /reel/How to Run
Execute the following shell command, replacing {{url}} with the Instagram URL:
python3 {{skill_dir}}/instagram_scraper.py {{url}}
The script will return one of:
CAPTION: β successfully extracted caption with metadataERROR: β failure with explanationExample Triggers
Output Format
On success the script returns:CAPTION:
Owner : @username
Type : GraphImage / GraphVideo / GraphSidecar
Likes : 1234
Shortcode: ABC123
Rules
/p/ or /reel/) is presentSetup Notes
Requires Python 3.8+ and theinstaloader library:
pip3 install instaloader==4.14.1
π Constraints
/p/ or /reel/) is present