youtube-batch-transcript-extractor-api-skill
하는 일
이 스킬은 YouTube 영상 묶음의 전체 자막, 좋아요, 채널 정보를 모읍니다. 분석을 위해 많은 영상의 텍스트가 필요한 연구자와 마케터를 위한 스킬입니다.
사용하는 경우
- ✓주제에 관한 많은 YouTube 영상의 자막이 필요할 때.
- ✓영상 목록에서 분석용 자막을 모으고 싶을 때.
- ✓영상 묶음의 좋아요와 채널 정보가 필요할 때.
스킬 링크
https://github.com/browser-act/skills/blob/main/solutions/video-platforms/youtube-batch-transcript-extractor-api-skill/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지난 6개월 동안 올라온 간헐적 단식 관련 YouTube 영상을 찾아서 전체 자막과 좋아요를 추출해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 키워드와 필터를 BrowserAct 템플릿에 보냅니다. 템플릿은 YouTube를 검색하고, 일치하는 영상의 자막과 메타데이터를 모아 한 묶음의 결과로 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
YouTube Batch Transcript Extractor API Skill
📖 Introduction
This skill uses the BrowserAct YouTube Batch Transcript Extractor API template to provide users with an automated service for extracting YouTube video transcripts and metadata in batch. Simply by providing search keywords and filters, you can batch extract full video transcripts, likes, and channel metadata without writing crawler scripts.
✨ Features
- No hallucinations, ensuring stable and accurate data extraction: Pre-set workflows avoid generative AI hallucinations.
- No CAPTCHA issues: No need to handle reCAPTCHA or other verification challenges.
- No IP access restrictions or geofencing: No need to deal with regional IP restrictions.
- Faster execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
- High cost-effectiveness: Significantly reduces data acquisition costs compared to AI solutions that consume a large number of tokens.
🔑 API Key Guide Process
Before running, you must check the BROWSERACT_API_KEY environment variable. If it is not set, do not take any other actions; you should request and wait for the user to provide it collaboratively.
The Agent must inform the user at this time:
"Since you have not yet configured the BrowserAct API Key, please go to the BrowserAct Console to get your Key first."
🛠️ Input Parameters
When calling the script, the Agent should flexibly configure the following parameters based on user needs:
KeyWords
- Type:
string - Description: The keyword to search for on YouTube.
- Example:
OpenClaw,AI Automation
- Type:
Upload_date
- Type:
string - Description: Filter for the upload date of the videos.
- Optional values:
Today,This week,This month,This year. - Default value:
This week
- Type:
Datelimit
- Type:
number - Description: The number of videos to extract. Adjust as needed.
- Default value:
5 - Recommendation: Set a smaller value (1-5) for quick tests and a larger value for bulk extraction.
- Type:
🚀 Invocation Method (Recommended)
The Agent should execute the following independent script to achieve "one-line command to get results":
# Example invocation
python -u ./scripts/youtube_batch_transcript_extractor_api.py "keywords" "Upload_date" Datelimit
⏳ Execution Status Monitoring
Since this task involves automated browser operations, it may take a long time (several minutes). The script will continuously output timestamped status logs (e.g., [14:30:05] Task Status: running) while running.
Agent Notes:
- While waiting for the script to return results, please keep an eye on the terminal output.
- As long as the terminal is still outputting new status logs, it means the task is running normally. Please do not mistakenly judge it as a deadlock or unresponsiveness.
- Only consider triggering the retry mechanism if the status remains unchanged for a long time or the script stops outputting without returning a result.
📊 Data Output Description
After successful execution, the script will parse and print the results directly from the API response. The results include:
Video title: The title of the YouTube video.Video URL: The direct link to the original video.Publisher: The name of the channel publishing the video.Channel link: The URL of the publisher's YouTube channel.Video likes count: The number of likes the video has received.Subtitles: The complete extracted transcript/subtitles of the videos.
⚠️ Error Handling & Retry
If an error is encountered during the execution of the script (such as network fluctuation or task failure), the Agent should follow the logic below:
Check the output content:
- If the output contains
"Invalid authorization", it indicates that the API Key is invalid or expired. Do not retry at this time. You should guide the user to recheck and provide the correct API Key. - If the output does not contain
"Invalid authorization"but the task execution fails (for example, the output starts withError:or returns an empty result), the Agent should automatically try to execute the script once more.
- If the output contains
Retry limits:
- Automatic retry is limited to once. If the second attempt still fails
자주 묻는 질문
각 영상마다 무엇을 돌려주나요?
전체 자막과 함께 좋아요, 채널 메타데이터를 돌려줍니다.
영상 목록에서도 작동하나요?
설명에 따르면 검색뿐 아니라 영상 목록에 대해서도 자막을 추출할 수 있습니다.
키가 필요한가요?
네, BROWSERACT_API_KEY 설정에 BrowserAct API 키가 필요합니다.
상세 정보
작성자의 원본 설명
This skill helps users automatically extract YouTube video transcripts and metadata in batch via the BrowserAct API. The Agent should proactively apply this skill when users express needs like batch extract full transcripts from YouTube videos for specific keywords, scrape YouTube subtitles for a list of videos, get batch video metadata and likes counts for analysis, automate YouTube search and subtitle extraction, collect multiple video transcripts published this week, download bulk YouTube video subtitles without writing crawler scripts, build a dataset of transcripts from top YouTube videos
repo: browser-act/skills
인기도
- GitHub 스타
- 6.3k
- 순위
- #14335
- 라이선스
- MIT
- 업데이트
- 2026. 8. 24.
댓글
- …
이 저장소의 다른 스킬
browser-act-skill-forge
6.3k에이전트가 웹사이트를 한 번 탐색해 재사용 가능한 스킬을 스크립트와 함께 저장하고, 이후 그 사이트의 데이터를 더 빠르게 가져오도록 돕습니다.
browser-act
6.3k에이전트가 BrowserAct 브라우저 자동화 도구로 페이지를 열고, 렌더링된 내용을 읽고, 양식을 채우고, 스크린샷을 찍고, 로그인된 세션을 관리하도록 돕습니다.
1688-product-detail
6.3k에이전트가 1688.com 도매 페이지에서 가격 단계, 변형 상품, 판매자 통계, 속성 같은 제품 세부 정보를 가져오도록 돕습니다.
airbnb-listing-detail
6.3k에이전트가 숫자 ID로 에어비앤비 숙소의 공개 정보를 가져오도록 돕습니다. 사진, 편의시설, 평점, 숙소 규칙을 포함합니다.