사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/apidojo-io/apidojo-skills --skill scraping-youtube-channel-info시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Scraping Youtube Channel Info
Raw data collection. No assumed use case — returns the full dataset for downstream analysis.
Inputs
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
startUrls | array | Optional | [] | YouTube channel URLs |
youtubeHandles | array | Optional | [] | YouTube handles (e.g. @kurzgesagt) |
keywords | array | Optional | [] | Search keywords to find channels |
gl | string | Optional | us | Country code (e.g. US) |
hl | string | Optional | en | Language code (e.g. en) |
sort | string | Optional | r | Sort order |
maxItems | number | Optional | Unlimited | Maximum channels to return |
customMapFunction | string | Optional | — | JavaScript function to transform each output object |
How to Run
Using run_actor.js (recommended)
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~youtube-channel-scraper" --input '{"keywords": ["cooking channel"], "gl": "us", "maxItems": 20}'
# Save as CSV
node scripts/run_actor.js --actor "apidojo~youtube-channel-scraper" --input '{"keywords": ["cooking channel"], "gl": "us", "maxItems": 20}' --output results.csv --format csv
# Save as JSON
node scripts/run_actor.js --actor "apidojo~youtube-channel-scraper" --input '{"keywords": ["cooking channel"], "gl": "us", "maxItems": 20}' --output results.json --format jsonREST API fallback
curl -X POST "https://api.apify.com/v2/acts/apidojo~youtube-channel-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords": ["cooking channel"], "gl": "us", "maxItems": 20}'If Apify MCP is available: Use the Apify MCP call_actor tool with actor apidojo~youtube-channel-scraper and the input above.
Output Fields
| Field | Type | Description |
|---|---|---|
id | string | YouTube channel ID |
name | string | Channel name |
url | string | Channel URL |
description | string | Channel description |
subscriberCount | number | Subscriber count |
videosCount | number | Total videos published |
thumbnails | array | Channel thumbnails |
isVerified | boolean | Verification badge |
isFamilySafe | boolean | Family-safe flag |
keywords | array | Channel keywords |
availableCountries | array | Countries where available |
tags | array | Channel tags |
Edge Cases
- Channel not found: Check if handle is correct or try with URL instead.
- subscriberCount as text: Field returns '1.2M subscribers' not a number — parse downstream if needed.
- No keywords in metadata: Some channels don't set keywords — tags array will be empty.
- Private/terminated channel: Returns no results for that channel.

