소스 정보
- 저장소
- ykdojo/safeclaw
- 최근 소스 활동
- 2026년 2월 9일 02:11
- 감지된 SKILL.md 언어
- 영어
- 스타
- 184
- 포크
- 20
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- yt-dlp
- description
- Download YouTube videos, audio, and subtitles/transcripts using yt-dlp.
# yt-dlp
Download YouTube videos, audio, and subtitles/transcripts.
## Setup
Check if yt-dlp is installed, and download it if not:
```bash
if ! command -v yt-dlp &>/dev/null && [ ! -f ~/yt-dlp ]; then
curl -sL https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/yt-dlp && chmod +x ~/yt-dlp
fi
```
Then use `~/yt-dlp` (or just `yt-dlp` if installed globally).
## Examples
Download subtitles/transcript:
```bash
~/yt-dlp --write-auto-sub --sub-lang en --skip-download -o "/tmp/%(id)s" <url>
```
Download audio only:
```bash
~/yt-dlp -x --audio-format mp3 -o "/tmp/%(title)s.%(ext)s" <url>
```
Download video:
```bash
~/yt-dlp -o "/tmp/%(title)s.%(ext)s" <url>
```
Get video info (title, duration, description):
```bash
~/yt-dlp --print title --print duration_string --print description --no-download <url>
```
## Notes
- Subtitles are saved as `.vtt` files - read them to get the transcript
- Use `/tmp/` for downloads to avoid cluttering the working directory
GitHub에서 보기