MIT License

项目介绍

JayceBatallones/instagram-reel-extractor 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 13 个 Star、1 次 Fork。

仓库全名
JayceBatallones/instagram-reel-extractor
开源许可证
MIT License
Star 数
13
Fork 数
1
未关闭 Issue
1

README 摘要

Instagram Reel Extractor A Claude Code skill that extracts transcripts, metadata, music, comments, and key frames from Instagram Reels — so you can analyze, repurpose, and build on content without manually rewatching videos. The Problem You find an Instagram Reel with a great script, a trending audio, or a content format you want to study. But to actually use any of it, you need to: Rewatch the reel multiple times…

完整内容见 GitHub 原始 README 或本页 。

常见问题

instagram-reel-extractor 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 13 个 Star。

instagram-reel-extractor 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 instagram-reel-extractor 的源码?

可以直接克隆仓库:git clone https://github.com/JayceBatallones/instagram-reel-extractor.git,默认分支为 main;安装与运行步骤见仓库 README。

instagram-reel-extractor 最近还在维护吗?

仓库最近一次更新为 4月9日,当前有 1 个未关闭 Issue;Star 数为 13,可作为社区活跃度的参考。

关于

Claude Code skill to extract transcripts, metadata, music, comments, and key frames from Instagram Reels

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
15
价值分
8
活跃状态
活跃

语言占比

Python
Shell

README

Instagram Reel Extractor

A Claude Code skill that extracts transcripts, metadata, music, comments, and key frames from Instagram Reels — so you can analyze, repurpose, and build on content without manually rewatching videos.

The Problem

You find an Instagram Reel with a great script, a trending audio, or a content format you want to study. But to actually use any of it, you need to:

  • Rewatch the reel multiple times to manually transcribe what was said
  • Shazam the audio separately to figure out the background music
  • Screenshot individual frames to reference the visual style or text overlays
  • Copy-paste the caption and manually extract hashtags
  • Scroll through comments to understand what resonated with the audience

This is tedious, slow, and doesn’t scale. If you’re a content creator, marketer, or strategist studying what works on Instagram, you’re spending more time extracting information than actually using it.

The Solution

Paste a Reel URL and get everything extracted into a single structured markdown file in seconds:

/instagram-reel-extractor https://www.instagram.com/reel/ABC123/

The skill downloads the video, transcribes the audio with AI, identifies the background music, pulls all metadata, extracts key frames, and saves it all as a clean markdown document you can reference, search, and repurpose.

What Gets Extracted

Feature How It Works
Full transcript OpenAI Whisper (runs locally, free, no API key)
Timestamped segments Every sentence mapped to its timecode
Music identification Shazam audio fingerprinting with song, artist, genre, and link
Creator info Display name, handle, profile ID
Engagement metrics Likes, comments count (as of extraction date)
Caption & hashtags Full original caption with hashtag list
Top comments Comment text, author, and like counts
Key frames Screenshots every N seconds (configurable)
Original URL Always linked at the top for reference

Use Cases

  • Content repurposing — Extract scripts from viral reels to adapt for your own content, blog posts, tweet threads, or YouTube shorts
  • Competitor research — Study what top creators in your niche are saying, what music they use, and what hooks get engagement
  • Trend tracking — Build a library of reel extractions in Obsidian, Notion, or any markdown-based system to spot patterns over time
  • Music discovery — Find trending audio for your own reels without manually Shazaming
  • Comment analysis — See what questions and reactions the audience has to inform your content strategy
  • Visual reference — Key frames show the editing style, text overlays, and B-roll approach without rewatching

Install

npx skills add JayceBatallones/instagram-reel-extractor -g

Dependencies

Run the setup script:

bash setup.sh

Or install manually:

brew install yt-dlp ffmpeg
pip3 install openai-whisper ShazamAPI

Note: OpenAI Whisper is completely free and open-source. It runs locally on your machine — no API key or OpenAI account needed. It’s not the same as OpenAI’s paid Whisper API.

Usage

Basic extraction

Just paste a Reel URL in Claude Code:

Extract this reel: https://www.instagram.com/reel/ABC123/

Or invoke the skill directly:

/instagram-reel-extractor https://www.instagram.com/reel/ABC123/

Save to a folder

Perfect for building a content library in Obsidian, Notion, or any notes app:

Extract this reel and save to ~/obsidian/content-ideas/

Extractions are saved as <creator>-reel-<date>.md (e.g., garyvee-reel-2026-04-08.md). Duplicates are auto-numbered.

Fast mode (skip frames)

If you only need the transcript and metadata:

Extract this reel with no frames: https://www.instagram.com/reel/ABC123/

Private reels

If a reel requires login, pass your browser cookies:

python3 scripts/extract_reel.py "URL" --cookies-from chrome

Options

Flag Description
--save-dir PATH Save extraction markdown to this directory
--whisper-model MODEL Whisper model: tiny, base (default), small, medium, large
--frame-interval N Seconds between frame captures (default: 2.0)
--no-frames Skip frame extraction (faster)
--cookies-from BROWSER Use browser cookies for auth (e.g., chrome, firefox)
--json Output raw JSON instead of markdown

Whisper Model Sizes

Model Speed Accuracy Memory
tiny Fastest Lower ~1 GB
base Fast Good ~1 GB
small Moderate Better ~2 GB
medium Slow Great ~5 GB
large Slowest Best ~10 GB

Example Output

# Instagram Reel Extraction

**Source:** [https://instagram.com/reel/ABC123/](...)
**Extracted:** 2026-04-08 08:15 UTC

## Metadata
- **Creator:** Gary Vaynerchuk (@garyvee)
- **Duration:** 0:58
- **Likes:** 45,231
- **Comments:** 1,204

## Music
- **Song:** Runaway (feat. Pusha T)
- **Artist:** Kanye West
- **Shazam:** https://www.shazam.com/track/52689669/runaway-feat-pusha-t

## Caption
Stop overthinking. Start posting. The algorithm rewards consistency, not perfection...

## Top Comments
*48 comments extracted*
- **@entrepreneur.daily** (12 likes): This changed my entire content strategy
- **@sarah_creates**: How often do you post reels vs stories?

## Transcript
*Language detected: en*

The number one mistake I see creators make is they wait for
the perfect idea. There is no perfect idea. The market decides
what's perfect, not you...

## Timestamped Transcript
[00:00] The number one mistake I see creators make...
[00:04] is they wait for the perfect idea...
[00:08] There is no perfect idea. The market decides...

How It Compares

This skill is built for deep content analysis of individual reels. If you need bulk data scraping (profiles, followers, hashtag search), tools like Apify’s Instagram Scraper are better suited. Here’s the tradeoff:

instagram-reel-extractor Bulk scraping tools
Cost Free (all open-source) Paid (API subscriptions)
Transcript Yes No
Music ID Yes No
Key frames Yes No
Runs locally Yes (private) No (cloud)
Bulk scraping No Yes
Profile/follower data No Yes

Troubleshooting

  • yt-dlp fails: Make sure yt-dlp is up to date (brew upgrade yt-dlp). Some reels may require --cookies-from chrome.
  • No speech detected: The reel may be music-only or use on-screen text. The music identification and frame extraction still work.
  • Slow transcription: Use --whisper-model tiny for faster results, or small for better accuracy.
  • Music not identified: Shazam works best with distinct background music. Speech-heavy reels without music will return no match.

License

MIT

评论

暂无评论