抓取并返回任意公开 Instagram 帖子或 Reel 的文字说明。当用户分享 Instagram 链接并想要提取或摘要内容时使用。
Extract the caption text from a public Instagram post or reel URL provided by the user.
Trigger this skill when the user:
/p/ or /reel/Execute the following shell command, replacing {{url}} with the Instagram URL:
bash
python3 {{skill_dir}}/instagram_scraper.py {{url}}
The script will return one of:
CAPTION: <text> — successfully extracted caption with metadataERROR: <reason> — failure with explanationOn success the script returns:
text
CAPTION: <full caption text>
---
Owner : @username
Type : GraphImage / GraphVideo / GraphSidecar
Likes : 1234
Shortcode: ABC123
/p/ or /reel/) is presentRequires Python 3.8+ and the instaloader library:
bash
pip3 install instaloader==4.14.1