跳到正文
cccskills
免费在 GitHub 公开

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

中文简介正在准备中。当前显示原文说明。

集成工具YouTube
查看安装方法

包含的文件(1)

  • SKILL.md5.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

YouTube Transcript Scraper

Turn a YouTube link, a channel or a playlist into text with one run of harshmaur/youtube-transcript-scraper. Each video gives one row with the transcript and the video facts. The agent picks the input list, sets how many videos to read per channel, and chooses the transcript shape.

Disclosure: the Actor is paid per result and is built by the skill author. Links carry no affiliate parameters.

When to Use

Use to summarize public YouTube videos, find timestamped quotations, export captions, or research transcripts from channels and playlists.

Example prompts

Prompts this skill handles:

  • "Summarize https://youtu.be/jNQXAC9IVRw in five bullet points."
  • "Give me SRT subtitles for these three videos."
  • "Pull the transcripts of the last 20 videos from @mkbhd and list every product he reviewed."
  • "Transcripts of this playlist, in Spanish, with timestamps so I can link to the exact second."

Out of scope (the boundary):

  • "Download the MP4" or "get the audio" — this Actor returns text and metadata only.
  • "Find videos about X" — it does not search YouTube. Get the video, channel or playlist links first.
  • "Read the comments" — use a YouTube comments Actor.

Prerequisites

  • Apify account (sign up). The free plan's monthly credit pays for about 1,000 transcripts.
  • Authentication via one of:
  • A previously installed and reviewed Apify CLI, or the Apify MCP server (see "Calling the Actor").

Workflow

Step 1 — Pick the input list

The user gives youFieldNotes
Video links: watch?v=, youtu.be/, /shorts/, /live/videoUrlsOne row per link. maxVideos does not apply.
A channel: @handle, youtube.com/@handle, /channel/UC…, /c/NamechannelUrlsThe newest uploads, up to maxVideos per channel.
A playlist: youtube.com/playlist?list=…playlistUrlsPlaylist order, up to maxVideos; about 100 at most.

Mix the three lists in one run when the user names videos and channels together.

Step 2 — Set the options

FieldValuesDefault
maxVideosVideos per channel or playlist50
dateFrom, dateToYYYY-MM-DD, publish date windownone
languageISO 639-1 code (en, es, hi, ja)the video's own caption language
transcriptFormatboth, segments, text, srt, vttboth

Pick the format from the task:

  • Summary, Q&A, RAG chunks → text (smallest rows).
  • Quotes with a link to the exact second → segments or both.
  • A subtitle file for an editor or player → srt or vtt.

Example input:

{
  "channelUrls": ["@mkbhd"],
  "maxVideos": 20,
  "dateFrom": "2026-09-01",
  "transcriptFormat": "text"
}

Fetch the live schema when a field is in doubt:

apify actors info "harshmaur/youtube-transcript-scraper" --input --json \
  --user-agent apify-awesome-skills/apify-youtube-transcript-scraper 2>/dev/null

Step 3 — Estimate the cost, then run

You pay only for transcripts in the dataset. Videos with no captions, private videos and videos outside the date window cost nothing.

Apify planPer 1,000 transcripts
Free$5.00
Starter$4.67
Scale$4.33
Business and higher$4.00

cost ≈ videos × $0.005. For channels, videos = channels × maxVideos. Under about 200 videos ($1), run it. Above that, state the estimate and get a yes first.

apify actors call "harshmaur/youtube-transcript-scraper" \
  -i '{"videoUrls":["https://youtu.be/jNQXAC9IVRw"],"transcriptFormat":"text"}' \
  --json \
  --user-agent apify-awesome-skills/apify-youtube-transcript-scraper \
  2>/dev/null

The output gives status and the dataset ID at storage.defaultDatasetId. A measured run of 4 transcripts (2 links and 2 channel videos) finished in under a minute. A run of several hundred videos can take many minutes. Start long runs without waiting and poll with apify runs info "RUN_ID" --json --user-agent apify-awesome-skills/apify-youtube-transcript-scraper 2>/dev/null.

Step 4 — Fetch and report

EXPORT_DIR="$(mktemp -d)" || exit 1
apify datasets get-items "DATASET_ID" --format json \
  --user-agent apify-awesome-skills/apify-youtube-transcript-scraper \
  2>/dev/null > "$EXPORT_DIR/yt-transcripts.json"

Each row has dataType: transcript or failed.

NeedFields
VideovideoId, url, title, description, durationSeconds, publishedAt, category, keywords, thumbnail
NumbersviewCount, likeCount, commentCount
ChannelchannelName, channelId, channelUrl, channelUsername, subscriberCount
TranscripttranscriptText (plain text), transcript (segments with start, end, duration, text

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

中文简介正在准备中。当前显示原文说明。

ranbot-ai/awesome-skills72026年10月22日 更新

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

中文简介正在准备中。当前显示原文说明。

ranbot-ai/awesome-skills72026年10月22日 更新

Usar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español.

中文简介正在准备中。当前显示原文说明。

ranbot-ai/awesome-skills72026年10月22日 更新

Usar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.

中文简介正在准备中。当前显示原文说明。

ranbot-ai/awesome-skills72026年10月22日 更新

Usar tras definir el sector de un proyecto: prepara un dossier en español con contexto, normas aplicables, patrones UX y riesgos, distinguiendo fuentes verificadas de hipótesis.

中文简介正在准备中。当前显示原文说明。

ranbot-ai/awesome-skills72026年10月22日 更新

AI-powered presentation generation via the 2slides API — create slides from text, match a reference image style, summarize documents into decks, add AI voice narration, and export pages/audio. Use f

中文简介正在准备中。当前显示原文说明。

ranbot-ai/awesome-skills72026年10月22日 更新

查看 ranbot-ai 的全部技能

报告此技能的问题