mps-youtube/pafy
Python library to download YouTube content and retrieve metadata observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4818
- days_rel: n/a
- days_push: 856
- n_releases_24m: 0
Adoption not part of the score
1416 stars · 308 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Pafy is a Python library for retrieving YouTube video metadata and downloading video or audio streams at requested resolutions and formats. It also ships a small command-line tool (ytdl) and can fetch stream URLs for playback in external players.
Use cases
- download youtube videos in python
- get youtube video metadata like viewcount and duration
- extract audio from youtube videos
- get stream url to play youtube video in vlc
- download youtube playlists
- command line youtube downloader
When to choose
- you need a lightweight single-module Python library for YouTube metadata and downloads
- you want to select specific resolution, bitrate, or audio-only streams
- you need stream URLs for external players like VLC or mplayer
When to avoid
- you need actively maintained YouTube extraction that keeps up with YouTube changes - yt-dlp is more reliable
- you need Python 2 support is irrelevant or you want modern async tooling
- you need features beyond YouTube platforms
Facets
library · maturity maintenance
http-client web-scraping cli video-processing media developer-tools python cli cross-platform youtube youtube-downloader metadata streaming youtube-dl command-line
1 source
- readme: https://github.com/mps-youtube/pafy · fetched 2026-08-28 · 1d108e40b6a0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mps-youtube/pafy | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="mps-youtube/pafy")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem