pafy(1)
π pafy β the manual page, but make it cute π
okay bestie, welcome to the pafy(1) page, from the General Commands Manual section. it's literally the glow-up doc for pafy, and we're about to go through it together. grab a strawberry π, sit down, it's giving study session but make it slay.
β¨ NAME β¨
pafy β Python API for YouTube π
like. that's it. that's the whole identity. it's a Python API, and it's for YouTube. main character energy fr fr π
π DESCRIPTION π
okay so here's the tea, bestie: pafy lets you download videos and retrieve metadata from YouTube. that's the vibe check, and it passes. π
this python library can do all of this, and no i'm not skipping any of it, every single one is iconic:
- retrieve metadata such as viewcount, duration, rating, author, thumbnail, keywords
- download video or audio at requested resolution / bitrate / format / filesize
- command line tool (
ytdl) for downloading directly from the command line π₯οΈ - retrieve the URL to stream the video in a player such as
vlcormplayer - works with age-restricted videos and non-embeddable videos (yes, even those ones, we love a flexible queen)
- small, standalone π¦
- select highest quality stream for download or streaming β
- download audio only (no video) in
oggorm4aformat π§ - download video only (no audio) in
m4vformat π¬
not me listing every single feature because the rule is KEEP EVERY DETAIL. and i would never do my bestie dirty like that. periodt. π
π AUTHOR π
Create by Zlatan Todoric for usage in Debian Project but can be used by others as well. π«Ά
like, originally made for Debian, but she's generous, she's for everybody. we love an inclusive icon. πΈ
and that's the whole page, bestie!! π this lil' doc came from the pafy manpage, dated April 14, 2014, and it belongs to pafy(1) β the one and only. mwah π β¨
π¦ where this page comes from
- ubuntu jammy: python3-pafy 0.5.2-2.1 Β· LGPL-3.0-or-later
- ubuntu noble: python3-pafy 0.5.2-2.1 Β· LGPL-3.0-or-later
- Copyright 2014 Zlatan Todoric <zlatan.todoric@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms