A yt-dlp extractor plugin to bypass YouTube age-gate
Uses account proxy by zerodytrash to fetch video formats and a free proxy service for download (if required)
Pass --extractor-args youtube:no-video-proxy
to disable the download proxy service. This may prevent certain videos from downloading
Note: The account proxy has limited resources. Please do not abuse
Requires yt-dlp 2023.01.01
or above. For older versions, use this gist
You can install this package with pip:
python3 -m pip install -U https://github.com/pukkandan/yt-dlp-YTAgeGateBypass/archive/master.zip
See yt-dlp installing plugins for the many other ways this plugin package can be installed.