[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-274":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},274,"yt-dlp","yt-dlp\u002Fyt-dlp","A feature-rich command-line audio\u002Fvideo downloader","https:\u002F\u002Fdiscord.gg\u002FH5MNcFW63r",null,"Python",170989,14417,864,1932,0,207,1522,8210,1066,120,"The Unlicense",false,"master",true,[26,27,28,29,30,31,5],"cli","downloader","python","sponsorblock","youtube-dl","youtube-downloader","2026-06-17 04:00:02","\u003C!-- MANPAGE: BEGIN EXCLUDED SECTION -->\n\u003Cdiv align=\"center\">\n\n[![YT-DLP](https:\u002F\u002Fraw.githubusercontent.com\u002Fyt-dlp\u002Fyt-dlp\u002Fmaster\u002F.github\u002Fbanner.svg)](#readme)\n\n[![Release version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fyt-dlp\u002Fyt-dlp?color=brightgreen&label=Download&style=for-the-badge)](#installation \"Installation\")\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-PyPI-blue.svg?logo=pypi&labelColor=555555&style=for-the-badge)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fyt-dlp \"PyPI\")\n[![Donate](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F_-Donate-red.svg?logo=githubsponsors&labelColor=555555&style=for-the-badge)](Maintainers.md#maintainers \"Donate\")\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F807245652072857610?color=blue&labelColor=555555&label=&logo=discord&style=for-the-badge)](https:\u002F\u002Fdiscord.gg\u002FH5MNcFW63r \"Discord\")\n[![Supported Sites](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-Supported_Sites-brightgreen.svg?style=for-the-badge)](supportedsites.md \"Supported Sites\")\n[![License: Unlicense](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-Unlicense-blue.svg?style=for-the-badge)](LICENSE \"License\")\n[![CI Status](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fyt-dlp\u002Fyt-dlp\u002Fcore.yml?branch=master&label=Tests&style=for-the-badge)](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Factions \"CI Status\")\n[![Commits](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcommit-activity\u002Fm\u002Fyt-dlp\u002Fyt-dlp?label=commits&style=for-the-badge)](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fcommits \"Commit History\")\n[![Last Commit](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flast-commit\u002Fyt-dlp\u002Fyt-dlp\u002Fmaster?label=&style=for-the-badge&display_timestamp=committer)](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fpulse\u002Fmonthly \"Last activity\")\n\n\u003C\u002Fdiv>\n\u003C!-- MANPAGE: END EXCLUDED SECTION -->\n\nyt-dlp is a feature-rich command-line audio\u002Fvideo downloader with support for [thousands of sites](supportedsites.md). The project is a fork of [youtube-dl](https:\u002F\u002Fgithub.com\u002Fytdl-org\u002Fyoutube-dl) based on the now inactive [youtube-dlc](https:\u002F\u002Fgithub.com\u002Fblackjack4494\u002Fyt-dlc).\n\n\u003C!-- MANPAGE: MOVE \"USAGE AND OPTIONS\" SECTION HERE -->\n\n\u003C!-- MANPAGE: BEGIN EXCLUDED SECTION -->\n* [INSTALLATION](#installation)\n    * [Detailed instructions](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki\u002FInstallation)\n    * [Release Files](#release-files)\n    * [Update](#update)\n    * [Dependencies](#dependencies)\n    * [Compile](#compile)\n* [USAGE AND OPTIONS](#usage-and-options)\n    * [General Options](#general-options)\n    * [Network Options](#network-options)\n    * [Geo-restriction](#geo-restriction)\n    * [Video Selection](#video-selection)\n    * [Download Options](#download-options)\n    * [Filesystem Options](#filesystem-options)\n    * [Thumbnail Options](#thumbnail-options)\n    * [Internet Shortcut Options](#internet-shortcut-options)\n    * [Verbosity and Simulation Options](#verbosity-and-simulation-options)\n    * [Workarounds](#workarounds)\n    * [Video Format Options](#video-format-options)\n    * [Subtitle Options](#subtitle-options)\n    * [Authentication Options](#authentication-options)\n    * [Post-processing Options](#post-processing-options)\n    * [SponsorBlock Options](#sponsorblock-options)\n    * [Extractor Options](#extractor-options)\n    * [Preset Aliases](#preset-aliases)\n* [CONFIGURATION](#configuration)\n    * [Configuration file encoding](#configuration-file-encoding)\n    * [Authentication with netrc](#authentication-with-netrc)\n    * [Notes about environment variables](#notes-about-environment-variables)\n* [OUTPUT TEMPLATE](#output-template)\n    * [Output template examples](#output-template-examples)\n* [FORMAT SELECTION](#format-selection)\n    * [Filtering Formats](#filtering-formats)\n    * [Sorting Formats](#sorting-formats)\n    * [Format Selection examples](#format-selection-examples)\n* [MODIFYING METADATA](#modifying-metadata)\n    * [Modifying metadata examples](#modifying-metadata-examples)\n* [EXTRACTOR ARGUMENTS](#extractor-arguments)\n* [PLUGINS](#plugins)\n    * [Installing Plugins](#installing-plugins)\n    * [Developing Plugins](#developing-plugins)\n* [EMBEDDING YT-DLP](#embedding-yt-dlp)\n    * [Embedding examples](#embedding-examples)\n* [CHANGES FROM YOUTUBE-DL](#changes-from-youtube-dl)\n    * [New features](#new-features)\n    * [Differences in default behavior](#differences-in-default-behavior)\n    * [Deprecated options](#deprecated-options)\n* [CONTRIBUTING](CONTRIBUTING.md#contributing-to-yt-dlp)\n    * [Opening an Issue](CONTRIBUTING.md#opening-an-issue)\n    * [Developer Instructions](CONTRIBUTING.md#developer-instructions)\n* [WIKI](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki)\n    * [FAQ](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki\u002FFAQ)\n\u003C!-- MANPAGE: END EXCLUDED SECTION -->\n\n\n# INSTALLATION\n\n\u003C!-- MANPAGE: BEGIN EXCLUDED SECTION -->\n[![Windows](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-Windows_x64-blue.svg?style=for-the-badge&logo=windows)](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp.exe)\n[![Unix](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-Linux\u002FBSD-red.svg?style=for-the-badge&logo=linux)](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp)\n[![MacOS](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-MacOS-lightblue.svg?style=for-the-badge&logo=apple)](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_macos)\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-PyPI-blue.svg?logo=pypi&labelColor=555555&style=for-the-badge)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fyt-dlp)\n[![Source Tarball](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-Source_tar-green.svg?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp.tar.gz)\n[![Other variants](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-Other-grey.svg?style=for-the-badge)](#release-files)\n[![All versions](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-All_Versions-lightgrey.svg?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases)\n\u003C!-- MANPAGE: END EXCLUDED SECTION -->\n\nYou can install yt-dlp using [the binaries](#release-files), [pip](https:\u002F\u002Fpypi.org\u002Fproject\u002Fyt-dlp) or one using a third-party package manager. See [the wiki](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki\u002FInstallation) for detailed instructions\n\n\n\u003C!-- MANPAGE: BEGIN EXCLUDED SECTION -->\n## RELEASE FILES\n\n#### Recommended\n\nFile|Description\n:---|:---\n[yt-dlp](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp)|Platform-independent [zipimport](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fzipimport.html) binary. Needs Python (recommended for **Linux\u002FBSD**)\n[yt-dlp.exe](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp.exe)|Windows (Win8+) standalone x64 binary (recommended for **Windows**)\n[yt-dlp_macos](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_macos)|Universal MacOS (10.15+) standalone executable (recommended for **MacOS**)\n\n#### Alternatives\n\nFile|Description\n:---|:---\n[yt-dlp_linux](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_linux)|Linux (glibc 2.17+) standalone x86_64 binary\n[yt-dlp_linux.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_linux.zip)|Unpackaged Linux (glibc 2.17+) x86_64 executable (no auto-update)\n[yt-dlp_linux_aarch64](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_linux_aarch64)|Linux (glibc 2.17+) standalone aarch64 binary\n[yt-dlp_linux_aarch64.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_linux_aarch64.zip)|Unpackaged Linux (glibc 2.17+) aarch64 executable (no auto-update)\n[yt-dlp_linux_armv7l.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_linux_armv7l.zip)|Unpackaged Linux (glibc 2.31+) armv7l executable (no auto-update)\n[yt-dlp_musllinux](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_musllinux)|Linux (musl 1.2+) standalone x86_64 binary\n[yt-dlp_musllinux.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_musllinux.zip)|Unpackaged Linux (musl 1.2+) x86_64 executable (no auto-update)\n[yt-dlp_musllinux_aarch64](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_musllinux_aarch64)|Linux (musl 1.2+) standalone aarch64 binary\n[yt-dlp_musllinux_aarch64.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_musllinux_aarch64.zip)|Unpackaged Linux (musl 1.2+) aarch64 executable (no auto-update)\n[yt-dlp_x86.exe](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_x86.exe)|Windows (Win8+) standalone x86 (32-bit) binary\n[yt-dlp_win_x86.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_win_x86.zip)|Unpackaged Windows (Win8+) x86 (32-bit) executable (no auto-update)\n[yt-dlp_arm64.exe](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_arm64.exe)|Windows (Win10+) standalone ARM64 binary\n[yt-dlp_win_arm64.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_win_arm64.zip)|Unpackaged Windows (Win10+) ARM64 executable (no auto-update)\n[yt-dlp_win.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_win.zip)|Unpackaged Windows (Win8+) x64 executable (no auto-update)\n[yt-dlp_macos.zip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp_macos.zip)|Unpackaged MacOS (10.15+) executable (no auto-update)\n\n#### Misc\n\nFile|Description\n:---|:---\n[yt-dlp.tar.gz](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp.tar.gz)|Source tarball\n[SHA2-512SUMS](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002FSHA2-512SUMS)|GNU-style SHA512 sums\n[SHA2-512SUMS.sig](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002FSHA2-512SUMS.sig)|GPG signature file for SHA512 sums\n[SHA2-256SUMS](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002FSHA2-256SUMS)|GNU-style SHA256 sums\n[SHA2-256SUMS.sig](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002FSHA2-256SUMS.sig)|GPG signature file for SHA256 sums\n\nThe public key that can be used to verify the GPG signatures is [available here](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fblob\u002Fmaster\u002Fpublic.key)\nExample usage:\n```\ncurl -L https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fraw\u002Fmaster\u002Fpublic.key | gpg --import\ngpg --verify SHA2-256SUMS.sig SHA2-256SUMS\ngpg --verify SHA2-512SUMS.sig SHA2-512SUMS\n```\n\n#### Licensing\n\nWhile yt-dlp is licensed under the [Unlicense](LICENSE), many of the release files contain code from other projects with different licenses.\n\nMost notably, the PyInstaller-bundled executables include GPLv3+ licensed code, and as such the combined work is licensed under [GPLv3+](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgpl-3.0.html).\n\nThe zipimport Unix executable (`yt-dlp`) contains [ISC](https:\u002F\u002Fgithub.com\u002Fmeriyah\u002Fmeriyah\u002Fblob\u002Fmain\u002FLICENSE.md) licensed code from [`meriyah`](https:\u002F\u002Fgithub.com\u002Fmeriyah\u002Fmeriyah) and [MIT](https:\u002F\u002Fgithub.com\u002Fdavidbonnet\u002Fastring\u002Fblob\u002Fmain\u002FLICENSE) licensed code from [`astring`](https:\u002F\u002Fgithub.com\u002Fdavidbonnet\u002Fastring).\n\nSee [THIRD_PARTY_LICENSES.txt](THIRD_PARTY_LICENSES.txt) for more details.\n\nThe git repository, the source tarball (`yt-dlp.tar.gz`), the PyPI source distribution and the PyPI built distribution (wheel) only contain code licensed under the [Unlicense](LICENSE).\n\n\u003C!-- MANPAGE: END EXCLUDED SECTION -->\n\n**Note**: The manpages, shell completion (autocomplete) files etc. are available inside the [source tarball](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp.tar.gz)\n\n\n## UPDATE\nYou can use `yt-dlp -U` to update if you are using the [release binaries](#release-files)\n\nIf you [installed with pip](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki\u002FInstallation#with-pip), simply re-run the same command that was used to install the program\n\nFor other third-party package managers, see [the wiki](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki\u002FInstallation#third-party-package-managers) or refer to their documentation\n\n\u003Ca id=\"update-channels\">\u003C\u002Fa>\n\nThere are currently three release channels for binaries: `stable`, `nightly` and `master`.\n\n* `stable` is the default channel, which offers releases published on a (mostly) monthly schedule. While it is named `stable` due to many of its changes having been tested by users of the `nightly` or `master` release channels, the latest `stable` release is often \"stale\" and prone to external breakage (i.e. sites changing things on their end and breaking yt-dlp).\n* The `nightly` channel offers releases that publish shortly before midnight UTC on any day that sees changes to the codebase. This channel serves as a snapshot of the project's development, and it is the **recommended channel for regular users** of yt-dlp. The `nightly` releases are available from [yt-dlp\u002Fyt-dlp-nightly-builds](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp-nightly-builds\u002Freleases) or as development releases of the `yt-dlp` PyPI package (which can be installed with pip's `--pre` flag).\n* The `master` channel offers \"canary\" releases that publish after each push to the master branch. This channel will always provide the very latest fixes and features, but may be prone to bugs or regressions. The `master` releases are available from [yt-dlp\u002Fyt-dlp-master-builds](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp-master-builds\u002Freleases).\n\nWhen using `--update`\u002F`-U`, a release binary will only update to its current channel.\n`--update-to CHANNEL` can be used to switch to a different channel when a newer version is available. `--update-to [CHANNEL@]TAG` can also be used to upgrade or downgrade to specific tags from a channel.\n\nYou may also use `--update-to \u003Crepository>` (`\u003Cowner>\u002F\u003Crepository>`) to update to a channel on a completely different repository. Be careful with what repository you are updating to though, there is no verification done for binaries from different repositories.\n\nExample usage:\n\n* `yt-dlp --update-to master` switch to the `master` channel and update to its latest release\n* `yt-dlp --update-to stable@2023.07.06` upgrade\u002Fdowngrade to release to `stable` channel tag `2023.07.06`\n* `yt-dlp --update-to 2023.10.07` upgrade\u002Fdowngrade to tag `2023.10.07` if it exists on the current channel\n* `yt-dlp --update-to example\u002Fyt-dlp@2023.09.24` upgrade\u002Fdowngrade to the release from the `example\u002Fyt-dlp` repository, tag `2023.09.24`\n\n**Important**: Any user experiencing an issue with the `stable` release should install or update to the `nightly` release before submitting a bug report:\n```\n# To update to nightly from stable executable\u002Fbinary:\nyt-dlp --update-to nightly\n\n# To install nightly with pip:\npython -m pip install -U --pre \"yt-dlp[default]\"\n```\n\nWhen running a yt-dlp version that is older than 90 days, you will see a warning message suggesting to update to the latest version.\nYou can suppress this warning by adding `--no-update` to your command or configuration file.\n\n## DEPENDENCIES\nPython versions 3.10+ (CPython) and 3.11+ (PyPy) are supported. Other versions and implementations may or may not work correctly.\n\n\u003C!-- Python 3.5+ uses VC++14 and it is already embedded in the binary created\n\u003C!x-- https:\u002F\u002Fwww.microsoft.com\u002Fen-us\u002Fdownload\u002Fdetails.aspx?id=26999 --x>\nOn Windows, [Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)](https:\u002F\u002Fdownload.microsoft.com\u002Fdownload\u002F1\u002F6\u002F5\u002F165255E7-1014-4D0A-B094-B6A430A6BFFC\u002Fvcredist_x86.exe) is also necessary to run yt-dlp. You probably already have this, but if the executable throws an error due to missing `MSVCR100.dll` you need to install it manually.\n-->\n\nWhile all the other dependencies are optional, `ffmpeg`, `ffprobe`, `yt-dlp-ejs` and a supported JavaScript runtime\u002Fengine are highly recommended\n\n### Strongly recommended\n\n* [**ffmpeg** and **ffprobe**](https:\u002F\u002Fwww.ffmpeg.org) - Required for [merging separate video and audio files](#format-selection), as well as for various [post-processing](#post-processing-options) tasks. License [depends on the build](https:\u002F\u002Fwww.ffmpeg.org\u002Flegal.html)\n\n    Since ffmpeg is such an important dependency, we provide our own builds at [yt-dlp\u002FFFmpeg-Builds](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002FFFmpeg-Builds). In the past, patches were applied to these builds in order to fix common issues for yt-dlp users, but currently our builds are equivalent to upstream ffmpeg. See [the readme](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002FFFmpeg-Builds#patches-applied) for details\n\n    **Important**: What you need is ffmpeg *binary*, **NOT** [the Python package of the same name](https:\u002F\u002Fpypi.org\u002Fproject\u002Fffmpeg)\n\n* [**yt-dlp-ejs**](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fejs) - Required for full YouTube support. Licensed under [Unlicense](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fejs\u002Fblob\u002Fmain\u002FLICENSE), bundles [MIT](https:\u002F\u002Fgithub.com\u002Fdavidbonnet\u002Fastring\u002Fblob\u002Fmain\u002FLICENSE) and [ISC](https:\u002F\u002Fgithub.com\u002Fmeriyah\u002Fmeriyah\u002Fblob\u002Fmain\u002FLICENSE.md) components.\n\n    A JavaScript runtime\u002Fengine like [**deno**](https:\u002F\u002Fdeno.land) (recommended), [**node.js**](https:\u002F\u002Fnodejs.org), [**bun**](https:\u002F\u002Fbun.sh), or [**QuickJS**](https:\u002F\u002Fbellard.org\u002Fquickjs\u002F) is also required to run yt-dlp-ejs. See [the wiki](https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki\u002FEJS).\n\n### Networking\n* [**certifi**](https:\u002F\u002Fgithub.com\u002Fcertifi\u002Fpython-certifi)\\* - Provides Mozilla's root certificate bundle. Licensed under [MPLv2](https:\u002F\u002Fgithub.com\u002Fcertifi\u002Fpython-certifi\u002Fblob\u002Fmaster\u002FLICENSE)\n* [**brotli**](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fbrotli)\\* or [**brotlicffi**](https:\u002F\u002Fgithub.com\u002Fpython-hyper\u002Fbrotlicffi) - [Brotli](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FBrotli) content encoding support. Both licensed under MIT \u003Csup>[1](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fbrotli\u002Fblob\u002Fmaster\u002FLICENSE) [2](https:\u002F\u002Fgithub.com\u002Fpython-hyper\u002Fbrotlicffi\u002Fblob\u002Fmaster\u002FLICENSE) \u003C\u002Fsup>\n* [**websockets**](https:\u002F\u002Fgithub.com\u002Faaugustin\u002Fwebsockets)\\* - For downloading over websocket. Licensed under [BSD-3-Clause](https:\u002F\u002Fgithub.com\u002Faaugustin\u002Fwebsockets\u002Fblob\u002Fmain\u002FLICENSE)\n* [**requests**](https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests)\\* - HTTP library. For HTTPS proxy and persistent connections support. Licensed under [Apache-2.0](https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Fblob\u002Fmain\u002FLICENSE)\n\n#### Impersonation\n\nThe following provide support for impersonating browser requests. This may be required for some sites that employ TLS fingerprinting.\n\n* [**curl_cffi**](https:\u002F\u002Fgithub.com\u002Flexiforest\u002Fcurl_cffi) (recommended) - Python binding for [curl-impersonate](https:\u002F\u002Fgithub.com\u002Flexiforest\u002Fcurl-impersonate). Provides impersonation targets for Chrome, Edge and Safari. Licensed under [MIT](https:\u002F\u002Fgithub.com\u002Flexiforest\u002Fcurl_cffi\u002Fblob\u002Fmain\u002FLICENSE)\n  * Can be installed with the `curl-cffi` extra, e.g. `pip install \"yt-dlp[default,curl-cffi]\"`\n  * Currently included in most builds *except* `yt-dlp` (Unix zipimport binary) and `yt-dlp_x86` (Windows 32-bit)\n\n\n### Metadata\n\n* [**mutagen**](https:\u002F\u002Fgithub.com\u002Fquodlibet\u002Fmutagen)\\* - For `--embed-thumbnail` in certain formats. Licensed under [GPLv2+](https:\u002F\u002Fgithub.com\u002Fquodlibet\u002Fmutagen\u002Fblob\u002Fmaster\u002FCOPYING)\n* [**AtomicParsley**](https:\u002F\u002Fgithub.com\u002Fwez\u002Fatomicparsley) - For `--embed-thumbnail` in `mp4`\u002F`m4a` files when `mutagen`\u002F`ffmpeg` cannot. Licensed under [GPLv2+](https:\u002F\u002Fgithub.com\u002Fwez\u002Fatomicparsley\u002Fblob\u002Fmaster\u002FCOPYING)\n* [**xattr**](https:\u002F\u002Fgithub.com\u002Fxattr\u002Fxattr), [**pyxattr**](https:\u002F\u002Fgithub.com\u002Fiustin\u002Fpyxattr) or [**setfattr**](http:\u002F\u002Fsavannah.nongnu.org\u002Fprojects\u002Fattr) - For writing xattr metadata (`--xattrs`) on **Mac** and **BSD**. Licensed under [MIT](https:\u002F\u002Fgithub.com\u002Fxattr\u002Fxattr\u002Fblob\u002Fmaster\u002FLICENSE.txt), [LGPL2.1](https:\u002F\u002Fgithub.com\u002Fiustin\u002Fpyxattr\u002Fblob\u002Fmaster\u002FCOPYING) and [GPLv2+](http:\u002F\u002Fgit.savannah.nongnu.org\u002Fcgit\u002Fattr.git\u002Ftree\u002Fdoc\u002FCOPYING) respectively\n\n### Misc\n\n* [**pycryptodomex**](https:\u002F\u002Fgithub.com\u002FLegrandin\u002Fpycryptodome)\\* - For decrypting AES-128 HLS streams and various other data. Licensed under [BSD-2-Clause](https:\u002F\u002Fgithub.com\u002FLegrandin\u002Fpycryptodome\u002Fblob\u002Fmaster\u002FLICENSE.rst)\n* [**phantomjs**](https:\u002F\u002Fgithub.com\u002Fariya\u002Fphantomjs) - Used in some extractors where JavaScript needs to be run. No longer used for YouTube. To be deprecated in the near future. Licensed under [BSD-3-Clause](https:\u002F\u002Fgithub.com\u002Fariya\u002Fphantomjs\u002Fblob\u002Fmaster\u002FLICENSE.BSD)\n* [**secretstorage**](https:\u002F\u002Fgithub.com\u002Fmitya57\u002Fsecretstorage)\\* - For `--cookies-from-browser` to access the **Gnome** keyring while decrypting cookies of **Chromium**-based browsers on **Linux**. Licensed under [BSD-3-Clause](https:\u002F\u002Fgithub.com\u002Fmitya57\u002Fsecretstorage\u002Fblob\u002Fmaster\u002FLICENSE)\n* Any external downloader that you want to use with `--downloader`\n\n### Deprecated\n\n* [**rtmpdump**](http:\u002F\u002Frtmpdump.mplayerhq.hu) - For downloading `rtmp` streams. ffmpeg can be used instead with `--downloader ffmpeg`. Licensed under [GPLv2+](http:\u002F\u002Frtmpdump.mplayerhq.hu)\n* [**mplayer**](http:\u002F\u002Fmplayerhq.hu\u002Fdesign7\u002Finfo.html) or [**mpv**](https:\u002F\u002Fmpv.io) - For downloading `rstp`\u002F`mms` streams. ffmpeg can be used instead with `--downloader ffmpeg`. Licensed under [GPLv2+](https:\u002F\u002Fgithub.com\u002Fmpv-player\u002Fmpv\u002Fblob\u002Fmaster\u002FCopyright)\n\nTo use or redistribute the dependencies, you must agree to their respective licensing terms.\n\nThe standalone release binaries are built with the Python interpreter and the packages marked with **\\*** included.\n\nIf you do not have the necessary dependencies for a task you are attempting, yt-dlp will warn you. All the currently available dependencies are visible at the top of the `--verbose` output\n\n\n## COMPILE\n\n### Standalone PyInstaller Builds\nTo build the standalone executable, you must have Python and `pyinstaller` (plus any of yt-dlp's [optional dependencies](#dependencies) if needed). The executable will be built for the same CPU architecture as the Python used.\n\nYou can run the following commands:\n\n```\npython devscripts\u002Finstall_deps.py --include-group pyinstaller\npython devscripts\u002Fmake_lazy_extractors.py\npython -m bundle.pyinstaller\n```\n\nOn some systems, you may need to use `py` or `python3` instead of `python`.\n\n`python -m bundle.pyinstaller` accepts any arguments that can be passed to `pyinstaller`, such as `--onefile\u002F-F` or `--onedir\u002F-D`, which is further [documented here](https:\u002F\u002Fpyinstaller.org\u002Fen\u002Fstable\u002Fusage.html#what-to-generate).\n\n**Note**: Pyinstaller versions below 4.4 [do not support](https:\u002F\u002Fgithub.com\u002Fpyinstaller\u002Fpyinstaller#requirements-and-tested-platforms) Python installed from the Windows store without using a virtual environment.\n\n**Important**: Running `pyinstaller` directly **instead of** using `python -m bundle.pyinstaller` is **not** officially supported. This may or may not work correctly.\n\n### Platform-independent Binary (UNIX)\nYou will need the build tools `python` (3.10+), `zip`, `make` (GNU), `pandoc`\\* and `pytest`\\*.\n\nAfter installing these, simply run `make`.\n\nYou can also run `make yt-dlp` instead to compile only the binary without updating any of the additional files. (The build tools marked with **\\*** are not needed for this)\n\n### Related scripts\n\n* **`devscripts\u002Finstall_deps.py`** - Install dependencies for yt-dlp.\n* **`devscripts\u002Fupdate-version.py`** - Update the version number based on the current date.\n* **`devscripts\u002Fset-variant.py`** - Set the build variant of the executable.\n* **`devscripts\u002Fmake_changelog.py`** - Create a markdown changelog using short commit messages and update `CONTRIBUTORS` file.\n* **`devscripts\u002Fmake_lazy_extractors.py`** - Create lazy extractors. Running this before building the binaries (any variant) will improve their startup performance. Set the environment variable `YTDLP_NO_LAZY_EXTRACTORS` to something nonempty to forcefully disable lazy extractor loading.\n\nNote: See their `--help` for more info.\n\n### Forking the project\nIf you fork the project on GitHub, you can run your fork's [build workflow](.github\u002Fworkflows\u002Fbuild.yml) to automatically build the selected version(s) as artifacts. Alternatively, you can run the [release workflow](.github\u002Fworkflows\u002Frelease.yml) or enable the [nightly workflow](.github\u002Fworkflows\u002Frelease-nightly.yml) to create full (pre-)releases.\n\n# USAGE AND OPTIONS\n\n\u003C!-- MANPAGE: BEGIN EXCLUDED SECTION -->\n    yt-dlp [OPTIONS] [--] URL [URL...]\n\nTip: Use `CTRL`+`F` (or `Command`+`F`)  to search by keywords\n\u003C!-- MANPAGE: END EXCLUDED SECTION -->\n\n\u003C!-- Auto generated -->\n## General Options:\n    -h, --help                      Print this help text and exit\n    --version                       Print program version and exit\n    -U, --update                    Update this program to the latest version\n    --no-update                     Do not check for updates (default)\n    --update-to [CHANNEL]@[TAG]     Upgrade\u002Fdowngrade to a specific version.\n                                    CHANNEL can be a repository as well. CHANNEL\n                                    and TAG default to \"stable\" and \"latest\"\n                                    respectively if omitted; See \"UPDATE\" for\n                                    details. Supported channels: stable,\n                                    nightly, master\n    -i, --ignore-errors             Ignore download and postprocessing errors.\n                                    The download will be considered successful\n                                    even if the postprocessing fails\n    --no-abort-on-error             Continue with next video on download errors;\n                                    e.g. to skip unavailable videos in a\n                                    playlist (default)\n    --abort-on-error                Abort downloading of further videos if an\n                                    error occurs (Alias: --no-ignore-errors)\n    --list-extractors               List all supported extractors and exit\n    --extractor-descriptions        Output descriptions of all supported\n                                    extractors and exit\n    --use-extractors NAMES          Extractor names to use separated by commas.\n                                    You can also use regexes, \"all\", \"default\"\n                                    and \"end\" (end URL matching); e.g. --ies\n                                    \"holodex.*,end,youtube\". Prefix the name\n                                    with a \"-\" to exclude it, e.g. --ies\n                                    default,-generic. Use --list-extractors for\n                                    a list of extractor names. (Alias: --ies)\n    --default-search PREFIX         Use this prefix for unqualified URLs. E.g.\n                                    \"gvsearch2:python\" downloads two videos from\n                                    google videos for the search term \"python\".\n                                    Use the value \"auto\" to let yt-dlp guess\n                                    (\"auto_warning\" to emit a warning when\n                                    guessing). \"error\" just throws an error. The\n                                    default value \"fixup_error\" repairs broken\n                                    URLs, but emits an error if this is not\n                                    possible instead of searching\n    --ignore-config                 Don't load any more configuration files\n                                    except those given to --config-locations.\n                                    For backward compatibility, if this option\n                                    is found inside the system configuration\n                                    file, the user configuration is not loaded.\n                                    (Alias: --no-config)\n    --no-config-locations           Do not load any custom configuration files\n                                    (default). When given inside a configuration\n                                    file, ignore all previous --config-locations\n                                    defined in the current file\n    --config-locations PATH         Location of the main configuration file;\n                                    either the path to the config or its\n                                    containing directory (\"-\" for stdin). Can be\n                                    used multiple times and inside other\n                                    configuration files\n    --plugin-dirs DIR               Path to an additional directory to search\n                                    for plugins. This option can be used\n                                    multiple times to add multiple directories.\n                                    Use \"default\" to search the default plugin\n                                    directories (default)\n    --no-plugin-dirs                Clear plugin directories to search,\n                                    including defaults and those provided by\n                                    previous --plugin-dirs\n    --js-runtimes RUNTIME[:PATH]    Additional JavaScript runtime to enable,\n                                    with an optional location for the runtime\n                                    (either the path to the binary or its\n                                    containing directory). This option can be\n                                    used multiple times to enable multiple\n                                    runtimes. Supported runtimes are (in order\n                                    of priority, from highest to lowest): deno,\n                                    node, quickjs, bun. Only \"deno\" is enabled\n                                    by default. The highest priority runtime\n                                    that is both enabled and available will be\n                                    used. In order to use a lower priority\n                                    runtime when \"deno\" is available, --no-js-\n                                    runtimes needs to be passed before enabling\n                                    other runtimes\n    --no-js-runtimes                Clear JavaScript runtimes to enable,\n                                    including defaults and those provided by\n                                    previous --js-runtimes\n    --remote-components COMPONENT   Remote components to allow yt-dlp to fetch\n                                    when required. This option is currently not\n                                    needed if you are using an official\n                                    executable or have the requisite version of\n                                    the yt-dlp-ejs package installed. You can\n                                    use this option multiple times to allow\n                                    multiple components. Supported values:\n                                    ejs:npm (external JavaScript components from\n                                    npm), ejs:github (external JavaScript\n                                    components from yt-dlp-ejs GitHub). By\n                                    default, no remote components are allowed\n    --no-remote-components          Disallow fetching of all remote components,\n                                    including any previously allowed by\n                                    --remote-components or defaults.\n    --flat-playlist                 Do not extract a playlist's URL result\n                                    entries; some entry metadata may be missing\n                                    and downloading may be bypassed\n    --no-flat-playlist              Fully extract the videos of a playlist\n                                    (default)\n    --live-from-start               Download livestreams from the start.\n                                    Currently experimental and only supported\n                                    for YouTube, Twitch, and TVer\n    --no-live-from-start            Download livestreams from the current time\n                                    (default)\n    --wait-for-video MIN[-MAX]      Wait for scheduled streams to become\n                                    available. Pass the minimum number of\n                                    seconds (or range) to wait between retries\n    --no-wait-for-video             Do not wait for scheduled streams (default)\n    --mark-watched                  Mark videos watched (even with --simulate)\n    --no-mark-watched               Do not mark videos watched (default)\n    --color [STREAM:]POLICY         Whether to emit color codes in output,\n                                    optionally prefixed by the STREAM (stdout or\n                                    stderr) to apply the setting to. Can be one\n                                    of \"always\", \"auto\" (default), \"never\", or\n                                    \"no_color\" (use non color terminal\n                                    sequences). Use \"auto-tty\" or \"no_color-tty\"\n                                    to decide based on terminal support only.\n                                    Can be used multiple times\n    --compat-options OPTS           Options that can help keep compatibility\n                                    with youtube-dl or youtube-dlc\n                                    configurations by reverting some of the\n                                    changes made in yt-dlp. See \"Differences in\n                                    default behavior\" for details\n    --alias ALIASES OPTIONS         Create aliases for an option string. Unless\n                                    an alias starts with a dash \"-\", it is\n                                    prefixed with \"--\". Arguments are parsed\n                                    according to the Python string formatting\n                                    mini-language. E.g. --alias get-audio,-X \"-S\n                                    aext:{0},abr -x --audio-format {0}\" creates\n                                    options \"--get-audio\" and \"-X\" that takes an\n                                    argument (ARG0) and expands to \"-S\n                                    aext:ARG0,abr -x --audio-format ARG0\". All\n                                    defined aliases are listed in the --help\n                                    output. Alias options can trigger more\n                                    aliases; so be careful to avoid defining\n                                    recursive options. As a safety measure, each\n                                    alias may be triggered a maximum of 100\n                                    times. This option can be used multiple times\n    -t, --preset-alias PRESET       Applies a predefined set of options. e.g.\n                                    --preset-alias mp3. The following presets\n                                    are available: mp3, aac, mp4, mkv, sleep.\n                                    See the \"Preset Aliases\" section at the end\n                                    for more info. This option can be used\n                                    multiple times\n\n## Network Options:\n    --proxy URL                     Use the specified HTTP\u002FHTTPS\u002FSOCKS proxy. To\n                                    enable SOCKS proxy, specify a proper scheme,\n                                    e.g. socks5:\u002F\u002Fuser:pass@127.0.0.1:1080\u002F.\n                                    Pass in an empty string (--proxy \"\") for\n                                    direct connection\n    --socket-timeout SECONDS        Time to wait before giving up, in seconds\n    --source-address IP             Client-side IP address to bind to\n    --impersonate CLIENT[:OS]       Client to impersonate for requests. E.g.\n                                    chrome, chrome-110, chrome:windows-10. Pass\n                                    --impersonate=\"\" to impersonate any client.\n                                    Note that forcing impersonation for all\n                                    requests may have a detrimental impact on\n                                    download speed and stability\n    --list-impersonate-targets      List available clients to impersonate.\n    -4, --force-ipv4                Make all connections via IPv4\n    -6, --force-ipv6                Make all connections via IPv6\n    --enable-file-urls              Enable file:\u002F\u002F URLs. This is disabled by\n                                    default for security reasons.\n\n## Geo-restriction:\n    --geo-verification-proxy URL    Use this proxy to verify the IP address for\n                                    some geo-restricted sites. The default proxy\n                                    specified by --proxy (or none, if the option\n                                    is not present) is used for the actual\n                                    downloading\n    --xff VALUE                     How to fake X-Forwarded-For HTTP header to\n                                    try bypassing geographic restriction. One of\n                                    \"default\" (only when known to be useful),\n                                    \"never\", an IP block in CIDR notation, or a\n                                    two-letter ISO 3166-2 country code\n\n## Video Selection:\n    -I, --playlist-items ITEM_SPEC  Comma-separated playlist_index of the items\n                                    to download. You can specify a range using\n                                    \"[START]:[STOP][:STEP]\". For backward\n                                    compatibility, START-STOP is also supported.\n                                    Use negative indices to count from the right\n                                    and negative STEP to download in reverse\n                                    order. E.g. \"-I 1:3,7,-5::2\" used on a\n                                    playlist of size 15 will download the items\n                                    at index 1,2,3,7,11,13,15\n    --min-filesize SIZE             Abort download if filesize is smaller than\n                                    SIZE, e.g. 50k or 44.6M\n    --max-filesize SIZE             Abort download if filesize is larger than\n                                    SIZE, e.g. 50k or 44.6M\n    --date DATE                     Download only videos uploaded on this date.\n                                    The date can be \"YYYYMMDD\" or in the format \n                                    [now|today|yesterday][-N[day|week|month|year]].\n                                    E.g. \"--date today-2weeks\" downloads only\n                                    videos uploaded on the same day two weeks ago\n    --datebefore DATE               Download only videos uploaded on or before\n                                    this date. The date formats accepted are the\n                                    same as --date\n    --dateafter DATE                Download only videos uploaded on or after\n                                    this date. The date formats accepted are the\n                                    same as --date\n    --match-filters FILTER          Generic video filter. Any \"OUTPUT TEMPLATE\"\n                                    field can be compared with a number or a\n                                    string using the operators defined in\n                                    \"Filtering Formats\". You can also simply\n                                    specify a field to match if the field is\n                                    present, use \"!field\" to check if the field\n                                    is not present, and \"&\" to check multiple\n                                    conditions. Use a \"\\\" to escape \"&\" or\n                                    quotes if needed. If used multiple times,\n                                    the filter matches if at least one of the\n                                    conditions is met. E.g. --match-filters\n                                    !is_live --match-filters \"like_count>?100 &\n                                    description~='(?i)\\bcats \\& dogs\\b'\" matches\n                                    only videos that are not live OR those that\n                                    have a like count more than 100 (or the like\n                                    field is not available) and also has a\n                                    description that contains the phrase \"cats &\n                                    dogs\" (caseless). Use \"--match-filters -\" to\n                                    interactively ask whether to download each\n                                    video\n    --no-match-filters              Do not use any --match-filters (default)\n    --break-match-filters FILTER    Same as \"--match-filters\" but stops the\n                                    download process when a video is rejected\n    --no-break-match-filters        Do not use any --break-match-filters (default)\n    --no-playlist                   Download only the video, if the URL refers\n                                    to a video and a playlist\n    --yes-playlist                  Download the playlist, if the URL refers to\n                                    a video and a playlist\n    --age-limit YEARS               Download only videos suitable for the given\n                                    age\n    --download-archive FILE         Download only videos not listed in the\n                                    archive file. Record the IDs of all\n                                    downloaded videos in it\n    --no-download-archive           Do not use archive file (default)\n    --max-downloads NUMBER          Abort after downloading NUMBER files\n    --break-on-existing             Stop the download process when encountering\n                                    a file that is in the archive supplied with\n                                    the --download-archive option\n    --no-break-on-existing          Do not stop the download process when\n                                    encountering a file that is in the archive\n                                    (default)\n    --break-per-input               Alters --max-downloads, --break-on-existing,\n                                    --break-match-filters, and autonumber to\n                                    reset per input URL\n    --no-break-per-input            --break-on-existing and similar options\n                                    terminates the entire download queue\n    --skip-playlist-after-errors N  Number of allowed failures until the rest of\n                                    the playlist is skipped\n\n## Download Options:\n    -N, --concurrent-fragments N    Number of fragments of a dash\u002Fhlsnative\n                                    video that should be downloaded concurrently\n                                    (default is 1)\n    -r, --limit-rate RATE           Maximum download rate in bytes per second,\n                                    e.g. 50K or 4.2M\n    --throttled-rate RATE           Minimum download rate in bytes per second\n                                    below which throttling is assumed and the\n                                    video data is re-extracted, e.g. 100K\n    -R, --retries RETRIES           Number of retries (default is 10), or\n                                    \"infinite\"\n    --file-access-retries RETRIES   Number of times to retry on file access\n                                    error (default is 3), or \"infinite\"\n    --fragment-retries RETRIES      Number of retries for a fragment (default is\n                                    10), or \"infinite\" (DASH, hlsnative and ISM)\n    --retry-sleep [TYPE:]EXPR       Time to sleep between retries in seconds\n                                    (optionally) prefixed by the type of retry\n                                    (http (default), fragment, file_access,\n                                    extractor) to apply the sleep to. EXPR can\n                                    be a number, linear=START[:END[:STEP=1]] or\n                                    exp=START[:END[:BASE=2]]. This option can be\n                                    used multiple times to set the sleep for the\n                                    different retry types, e.g. --retry-sleep\n                                    linear=1::2 --retry-sleep fragment:exp=1:20\n    --skip-unavailable-fragments    Skip unavailable fragments for DASH,\n                                    hlsnative and ISM downloads (default)\n                                    (Alias: --no-abort-on-unavailable-fragments)\n    --abort-on-unavailable-fragments\n                                    Abort download if a fragment is unavailable\n                                    (Alias: --no-skip-unavailable-fragments)\n    --keep-fragments                Keep downloaded fragments on disk after\n                                    downloading is finished\n    --no-keep-fragments             Delete downloaded fragments after\n                                    downloading is finished (default)\n    --buffer-size SIZE              Size of download buffer, e.g. 1024 or 16K\n                                    (default is 1024)\n    --resize-buffer                 The buffer size is automatically resized\n                                    from an initial value of --buffer-size\n                                    (default)\n    --no-resize-buffer              Do not automatically adjust the buffer size\n    --http-chunk-size SIZE          Size of a chunk for chunk-based HTTP\n                                    downloading, e.g. 10485760 or 10M (default\n                                    is disabled). May be useful for bypassing\n                                    bandwidth throttling imposed by a webserver\n                                    (experimental)\n    --playlist-random               Download playlist videos in random order\n    --lazy-playlist                 Process entries in the playlist as they are\n                                    received. This disables n_entries,\n                                    --playlist-random and --playlist-reverse\n    --no-lazy-playlist              Process videos in the playlist only after\n                                    the entire playlist is parsed (default)\n    --hls-use-mpegts                Use the mpegts container for HLS videos;\n                                    allowing some players to play the video\n                                    while downloading, and reducing the chance\n                                    of file corruption if download is\n                                    interrupted. This is enabled by default for\n                                    live streams\n    --no-hls-use-mpegts             Do not use the mpegts container for HLS\n                                    videos. This is default when not downloading\n                                    live streams\n    --download-sections REGEX       Download only chapters that match the\n                                    regular expression. A \"*\" prefix denotes\n                                    time-range instead of chapter. Negative\n                                    timestamps are calculated from the end.\n                                    \"*from-url\" can be used to download between\n                                    the \"start_time\" and \"end_time\" extracted\n                                    from the URL. Needs ffmpeg. This option can\n                                    be used multiple times to download multiple\n                                    sections, e.g. --download-sections\n                                    \"*10:15-inf\" --download-sections \"intro\"\n    --downloader [PROTO:]NAME       Name or path of the external downloader to\n                                    use (optionally) prefixed by the protocols\n                                    (http, ftp, m3u8, dash, rstp, rtmp, mms) to\n                                    use it for. Currently supports native,\n                                    aria2c, axel, curl, ffmpeg, httpie, wget.\n                                    You can use this option multiple times to\n                                    set different downloaders for different\n                                    protocols. E.g. --downloader aria2c\n                                    --downloader \"dash,m3u8:native\" will use\n                                    aria2c for http\u002Fftp downloads, and the\n                                    native downloader for dash\u002Fm3u8 downloads\n                                    (Alias: --external-downloader)\n    --downloader-args NAME:ARGS     Give these arguments to the external\n                                    downloader. Specify the downloader name and\n                                    the arguments separated by a colon \":\". For\n                                    ffmpeg, arguments can be passed to different\n                                    positions using the same syntax as\n                                    --postprocessor-args. You can use this\n                                    option multiple times to give different\n                                    arguments to different downloaders (Alias:\n                                    --external-downloader-args)\n\n## Filesystem Options:\n    -a, --batch-file FILE           File containing URLs to download (\"-\" for\n                                    stdin), one URL per line. Lines starting\n                                    with \"#\", \";\" or \"]\" are considered as\n                                    comments and ignored\n    --no-batch-file                 Do not read URLs from batch file (default)\n    -P, --paths [TYPES:]PATH        The paths where the files should be\n                                    downloaded. Specify the type of file and the\n                                    path separated by a colon \":\". All the same\n                                    TYPES as --output are supported.\n                                    Additionally, you can also provide \"home\"\n                                    (default) and \"temp\" paths. All intermediary\n                                    files are first downloaded to the temp path\n                                    and then the final files are moved over to\n                                    the home path after download is finished.\n                                    This option is ignored if --output is an\n                                    absolute path\n    -o, --output [TYPES:]TEMPLATE   Output filename template; see \"OUTPUT\n                                    TEMPLATE\" for details\n    --output-na-placeholder TEXT    Placeholder for unavailable fields in\n                                    --output (default: \"NA\")\n    --restrict-filenames            Restrict filenames to only ASCII characters,\n                                    and avoid \"&\" and spaces in filenames\n    --no-restrict-filenames         Allow Unicode characters, \"&\" and spaces in\n                                    filenames (default)\n    --windows-filenames             Force filenames to be Windows-compatible\n    --no-windows-filenames          Sanitize filenames only minimally\n    --trim-filenames LENGTH         Limit the filename length (excluding\n                                    extension) to the specified number of\n                                    characters\n    -w, --no-overwrites             Do not overwrite any files\n    --force-overwrites              Overwrite all video and metadata files. This\n                                    option includes --no-continue\n    --no-force-overwrites           Do not overwrite the video, but overwrite\n                                    related files (default)\n    -c, --continue                  Resume partially downloaded files\u002Ffragments\n                                    (default)\n    --no-continue                   Do not resume partially downloaded\n                                    fragments. If the file is not fragmented,\n                                    restart download of the entire file\n    --part                          Use .part files instead of writing directly\n                                    into output file (default)\n    --no-part                       Do not use .part files - write directly into\n                                    output file\n    --mtime                         Use the Last-modified header to set the file\n                                    modification time\n    --no-mtime                      Do not use the Last-modified header to set\n                                    the file modification time (default)\n    --write-description             Write video description to a .description file\n    --no-write-description          Do not write video description (default)\n    --write-info-json               Write video metadata to a .info.json file\n                                    (this may contain personal information)\n    --no-write-info-json            Do not write video metadata (default)\n    --write-playlist-metafiles      Write playlist metadata in addition to the\n                                    video metadata when using --write-info-json,\n                                    --write-description etc. (default)\n    --no-write-playlist-metafiles   Do not write playlist metadata when using\n                                    --write-info-json, --write-description etc.\n    --clean-info-json               Remove some internal metadata such as\n                                    filenames from the infojson (default)\n    --no-clean-info-json            Write all fields to the infojson\n    --write-comments                Retrieve video comments to be placed in the\n                                    infojson. The comments are fetched even\n                                    without this option if the extraction is\n                                    known to be quick (Alias: --get-comments)\n    --no-write-comments             Do not retrieve video comments unless the\n                                    extraction is known to be quick (Alias:\n                                    --no-get-comments)\n    --load-info-json FILE           JSON file containing the video information\n                                    (created with the \"--write-info-json\" option)\n    --cookies FILE                  Netscape formatted file to read cookies from\n                                    and dump cookie jar in\n    --no-cookies                    Do not read\u002Fdump cookies from\u002Fto file\n                                    (default)\n    --cookies-from-browser BROWSER[+KEYRING][:PROFILE][::CONTAINER]\n                                    The name of the browser to load cookies\n                                    from. Currently supported browsers are:\n                                    brave, chrome, chromium, edge, firefox,\n                                    opera, safari, vivaldi, whale. Optionally,\n                                    the KEYRING used for decrypting Chromium\n                                    cookies on Linux, the name\u002Fpath of the\n                                    PROFILE to load cookies from, and the\n                                    CONTAINER name (if Firefox) (\"none\" for no\n                                    container) can be given with their\n                                    respective separators. By default, all\n                                    containers of the most recently accessed\n                                    profile are used. Currently supported\n                                    keyrings are: basictext, gnomekeyring,\n                                    kwallet, kwallet5, kwallet6\n    --no-cookies-from-browser       Do not load cookies from browser (default)\n    --cache-dir DIR                 Location in the filesystem where yt-dlp can\n                                    store some downloaded information (such as\n                                    client ids and signatures) permanently. By\n                                    default ${XDG_CACHE_HOME}\u002Fyt-dlp\n    --no-cache-dir                  Disable filesystem caching\n    --rm-cache-dir                  Delete all filesystem cache files\n\n## Thumbnail Options:\n    --write-thumbnail               Write thumbnail image to disk\n    --no-write-thumbnail            Do not write thumbnail image to disk (default)\n    --write-all-thumbnails          Write all thumbnail image formats to disk\n    --list-thumbnails               List available thumbnails of each video.\n                                    Simulate unless --no-simulate is used\n\n## Internet Shortcut Options:\n    --write-link                    Write an internet shortcut file, depending\n                                    on the current platform (.url, .webloc or\n                                    .desktop). The URL may be cached by the OS\n    --write-url-link                Write a .url Windows internet shortcut. The\n                                    OS caches the URL based on the file path\n    --write-webloc-link             Write a .webloc macOS internet shortcut\n    --write-desktop-link            Write a .desktop Linux internet shortcut\n\n## Verbosity and Simulation Options:\n    -q, --quiet                     Activate quiet mode. If used with --verbose,\n                                    print the log to stderr\n    --no-quiet                      Deactivate quiet mode. (Default)\n    --no-warnings                   Ignore warnings\n    -s, --simulate                  Do not download the video and do not write\n                                    anything to disk\n    --no-simulate                   Download the video even if printing\u002Flisting\n                                    options are used\n    --ignore-no-formats-error       Ignore \"No video formats\" error. Useful for\n                                    extracting metadata even if the videos are\n                                    not actually available for download\n                                    (experimental)\n    --no-ignore-no-formats-error    Throw error when no downloadable video\n                                    formats are found (default)\n    --skip-download                 Do not download the video but write all\n                                    related files (Alias: --no-download)\n    -O, --print [WHEN:]TEMPLATE     Field name or output template to print to\n                                    screen, optionally prefixed with when to\n                                    print it, separated by a \":\". Supported\n                                    values of \"WHEN\" are the same as that of\n                                    --use-postprocessor (default: video).\n                                    Implies --quiet. Implies --simulate unless\n                                    --no-simulate or later stages of WHEN are\n                                    used. This option can be used multiple times\n    --print-to-file [WHEN:]TEMPLATE FILE\n                                    Append given template to the file. The\n                                    values of WHEN and TEMPLATE are the same as\n                                    that of --print. FILE uses the same syntax\n                                    as the output template. This option can be\n                                    used multiple times\n    -j, --dump-json                 Quiet, but print JSON information for each\n                                    video. Simulate unless --no-simulate is\n                                    used. See \"OUTPUT TEMPLATE\" for a\n                                    description of available keys\n    -J, --dump-single-json          Quiet, but print JSON information for each\n                                    URL or infojson passed. Simulate unless\n                                    --no-simulate is used. If the URL refers to\n                                    a playlist, the whole playlist information\n                                    is dumped in a single line\n    --force-write-archive           Force download archive entries to be written\n                                    as far as no errors occur, even if -s or\n                                    another simulation option is used (Alias:\n                                    --force-download-archive)\n    --newline                       Output progress bar as new lines\n    --no-progress                   Do not print progress bar\n    --progress                      Show progress bar, even if in quiet mode\n    --console-title                 Display progress in console titlebar\n    --progress-template [TYPES:]TEMPLATE\n                                    Template for progress outputs, optionally\n                                    prefixed with one of \"download:\" (default),\n                                    \"download-title:\" (the console title),\n                                    \"postprocess:\",  or \"postprocess-title:\".\n                                    The video's fields are accessible under the\n                                    \"info\" key and the progress attributes are\n                                    accessible under \"progress\" key. E.g.\n                                    --console-title --progress-template\n                                    \"download-title:%(info.id)s-%(progress.eta)s\"\n    --progress-delta SECONDS        Time between progress output (default: 0)\n    -v, --verbose                   Print various debugging information\n    --dump-pages                    Print downloaded pages encoded using base64\n                                    to debug problems (very verbose)\n    --write-pages                   Write downloaded intermediary pages to files\n                                    in the current directory to debug problems\n    --print-traffic                 Display sent and read HTTP traffic\n\n## Workarounds:\n    --encoding ENCODING             Force the specified encoding (experimental)\n    --legacy-server-connect         Explicitly allow HTTPS connection to servers\n                                    that do not support RFC 5746 secure\n                                    renegotiation\n    --no-check-certificates         Suppress HTTPS certificate validation\n    --prefer-insecure               Use an unencrypted connection to retrieve\n                                    information about the video (Currently\n                                    supported only for YouTube)\n    --add-headers FIELD:VALUE       Specify a custom HTTP header and its value,\n                                    separated by a colon \":\". You can use this\n                                    option multiple times\n    --bidi-workaround               Work around terminals that lack\n                                    bidirectional text support. Requires bidiv\n                                    or fribidi executable in PATH\n    --sleep-requests SECONDS        Number of seconds to sleep between requests\n                                    during data extraction\n    --sleep-interval SECONDS        Number of seconds to sleep before each\n                                    download. This is the minimum time to sleep\n                                    when used along with --max-sleep-interval\n                                    (Alias: --min-sleep-interval)\n    --max-sleep-interval SECONDS    Maximum number of seconds to sleep. Can only\n                                    be used along with --min-sleep-interval\n    --sleep-subtitles SECONDS       Number of seconds to sleep before each\n                                    subtitle download\n\n## Video Format Options:\n    -f, --format FORMAT             Video format code, see \"FORMAT SELECTION\"\n                                    for more details\n    -S, --format-sort SORTORDER     Sort the formats by the fields given, see\n                                    \"Sorting Formats\" for more details\n    --format-sort-reset             Disregard previous user specified sort order\n                                    and reset to the default\n    --format-sort-force             Force user specified sort order to have\n                                    precedence over all fields, see \"Sorting\n                                    Formats\" for more details (Alias: --S-force)\n    --no-format-sort-force          Some fields have precedence over the user\n                                    specified sort order (default)\n    --video-multistreams            Allow multiple video streams to be merged\n                                    into a single file\n    --no-video-multistreams         Only one video stream is downloaded for each\n                                    output file (default)\n    --audio-multistreams            Allow multiple audio streams to be merged\n                                    into a single file\n    --no-audio-multistreams         Only one audio stream is downloaded for each\n                                    output file (default)\n    --prefer-free-formats           Prefer video formats with free containers\n                                    over non-free ones of the same quality. Use\n                                    with \"-S ext\" to strictly prefer free\n                                    containers irrespective of quality\n    --no-prefer-free-formats        Don't give any special preference to free\n                                    containers (default)\n    --check-formats                 Make sure formats are selected only from\n                                    those that are actually downloadable\n    --check-all-formats             Check all formats for whether they are\n                                    actually downloadable\n    --no-check-formats              Do not check that the formats are actually\n                                    downloadable\n    -F, --list-formats              List available formats of each video.\n                                    Simulate unless --no-simulate is used\n    --merge-output-format FORMAT    Containers that may be used when merging\n                                    formats, separated by \"\u002F\", e.g. \"mp4\u002Fmkv\".\n                                    Ignored if no merge is required. (currently\n                                    supported: avi, flv, mkv, mov, mp4, webm)\n\n## Subtitle Options:\n    --write-subs                    Write subtitle file\n    --no-write-subs                 Do not write subtitle file (default)\n    --write-auto-subs               Write automatically generated subtitle file\n        ","yt-dlp 是一个功能丰富的命令行音频\u002F视频下载工具，支持数千个网站。它基于已不再活跃的 youtube-dl 和 youtube-dlc 项目进行开发。核心功能包括广泛的站点支持、高度可配置的选项以及对多种格式的支持。技术特点涵盖多线程下载、自定义输出模板、自动字幕下载及后处理等。适合需要从互联网上批量下载多媒体内容的用户使用，如教育机构获取教学资源、个人用户保存在线视频等场景。",2,"2026-06-17 02:33:04","top_all"]