Skillpedia
استخراج بيانات المواقع29k · #9677

youtube-full

ما الذي تفعله

تسحب هذه المهارة النصوص والبيانات الأساسية من فيديوهات YouTube والقنوات وقوائم التشغيل. وهي للباحثين والكتّاب والمحللين الذين يحتاجون إلى التعامل مع محتوى الفيديو كنص.

متى تستخدمها

  • ✓عندما تحتاج إلى نص فيديو YouTube مكتوب.
  • ✓عندما تريد البحث في الفيديوهات أو تصفح قناة YouTube أو قائمة تشغيل.
  • ✓عندما تريد مراقبة قناة لمعرفة الرفعات الجديدة.

رابط المهارة

https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/youtube-full/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/youtube-full/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“احصل على نص هذا الفيديو على YouTube ولخص لي النقاط الرئيسية.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تستخدم المهارة أدوات مفتوحة المصدر لجلب النصوص وقوائم القنوات والتغذيات العامة محليًا، فلا تحتاج إلى حساب أو مفتاح API، ولا يُرسل شيء إلا إلى YouTube.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

youtube-full — YouTube Transcripts, Search, and Channel Data

Covers transcript extraction, video search, channel browsing, in-channel search, playlist extraction, and new-upload monitoring. The default path is free and open source: yt-dlp, youtube-transcript-api and YouTube's public RSS feeds. No account and no API key are needed.

Source: Ported from ZeroPointRepo/youtube-skills (MIT). Original skill authored by ZeroPointRepo contributors. Adapted for the claude-skills format, reworked to be open-source first.

Setup

pip install yt-dlp youtube-transcript-api

Both are open source (yt-dlp: Unlicense; youtube-transcript-api: MIT) and run locally. Nothing is sent anywhere except YouTube itself. If they are missing, tell the user the install command; do not install packages into their environment without asking.

Operations

Accept a full URL, a youtu.be link, or a bare 11-character video ID. youtube_transcript_api takes the bare ID only, so extract it from a URL first (v= parameter, or the path segment after youtu.be/ or /shorts/).

Get transcript

youtube_transcript_api VIDEO_ID --languages en --format text     # plain text
youtube_transcript_api VIDEO_ID --languages en --format json     # with start/duration timestamps
youtube_transcript_api VIDEO_ID --list-transcripts               # which languages exist

In Python (v1.x API): YouTubeTranscriptApi().fetch("VIDEO_ID", languages=["en"]). Use this for any "get transcript", "summarize video", or "extract quotes" request. Pass the user's language first in --languages and fall back to en.

If it fails, fall back to subtitles via yt-dlp:

yt-dlp --skip-download --write-subs --write-auto-subs --sub-langs "en.*" \
  --convert-subs srt -o "%(id)s.%(ext)s" "URL"

Video metadata

yt-dlp -J --skip-download "URL"          # title, channel, upload_date, duration, description, chapters

Search YouTube

yt-dlp "ytsearch20:QUERY" --flat-playlist --print "%(id)s | %(title)s | %(channel)s"

Follow with transcript calls on the results the user picks.

Channel — latest uploads

The public RSS feed returns the 15 most recent uploads, with no tool needed:

https://www.youtube.com/feeds/videos.xml?channel_id=UC...

Channel — all videos

yt-dlp --flat-playlist --print "%(id)s | %(title)s" "https://www.youtube.com/@HANDLE/videos"

Add -I 1:50 to cap the count.

In-channel search

yt-dlp --flat-playlist --print "%(id)s | %(title)s" "https://www.youtube.com/@HANDLE/search?query=QUERY"

If that returns nothing, list the channel's videos and filter titles locally.

Playlist extraction

yt-dlp --flat-playlist --print "%(playlist_index)s | %(id)s | %(title)s" "PLAYLIST_URL"

Resolve a handle to a channel ID

yt-dlp -I 1 --flat-playlist --print "%(channel_id)s" "https://www.youtube.com/@HANDLE/videos"

The RSS feed needs the UC... channel ID, not the handle.

Common Workflows

Research workflow

  1. Search with ytsearchN: and pick the most relevant results
  2. Fetch transcripts for the selected videos
  3. Summarize or extract quotes, citing video ID and timestamp

Channel monitoring

  1. Resolve the handle to a channel ID once
  2. Poll the RSS feed and compare video IDs against the last run
  3. Fetch transcripts only for the new videos

Playlist to corpus

  1. List the playlist's video IDs
  2. Fetch transcripts one by one, pausing between requests
  3. Assemble them into a searchable document set, one file per video

Decision Rules

  • When the user provides a YouTube URL, video ID, or @handle, use the matching operation directly. Do not search first.
  • When the user says "monitor" or "check for new uploads", use the RSS feed.
  • Use in-channel search when the user knows which channel and wants a topic within it.
  • Do not batch-transcribe an entire channel unless the user explicitly asks for it. Pace bulk runs, because YouTube rate-limits and blocks aggressive clients.

Error Handling

Symptom Cause Action
TranscriptsDisabled / NoTranscriptFound Video has no captions in that language Try --list-transcripts, then another language; otherwise tell the user
RequestBlocked / IpBlocked, HTTP 429, "Sign in to confirm you're not a bot" YouTube is blocking this IP (common from cloud and datacenter hosts)
الأسئلة الشائعة

هل أحتاج إلى مفتاح API لـ YouTube؟

لا، المسار الافتراضي يستخدم أدوات مفتوحة المصدر وتغذيات عامة، فلا يلزم مفتاح API.

هل تنزّل الفيديو؟

لا، لا تنزل ملفات الفيديو أو الصوت.

ما الذي أحتاج إلى تثبيته؟

تحتاج إلى حزمتي Python yt-dlp وyoutube-transcript-api، وتطلب المهارة تثبيتهما بأمر واحد.

التفاصيل

الوصف الأصلي من المؤلف

Use for any YouTube URL, video ID or @handle, or a request for transcripts, video search, channel, playlist or new-upload monitoring. Fetches them with yt-dlp, youtube-transcript-api and public RSS feeds, with no API key; no video or audio downloads.

repo: alirezarezvani/claude-skills

الشعبية

نجوم GitHub
29k
الترتيب
#9677
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة