Configuration files for yt-dlp to archive YouTube channels and playlists with (hopefully) optimal settings for long-term preservation.
-
Clone this repository:
git clone https://github.com/Uranite/yt-dlp-config.git cd yt-dlp-config -
Install yt-dlp (nightly):
pip install -U --pre "yt-dlp[default,curl-cffi]"Also install the recommended dependencies: https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#strongly-recommended
- Add channel URLs to
channel/channels.txt(one URL per line) - Run the download script:
cd channel .\dl.bat
- Add playlist URLs to
playlist/playlists.txt(one URL per line) - Run the download script:
cd playlist .\dl.bat
- Edit the respective
channels.txtorplaylists.txtfile - Add one URL per line
Edit the yt-dlp.conf file in either the channel/ or playlist/ directory to change download settings. Refer to the yt-dlp documentation for available options.
To update yt-dlp to the latest nightly version, run:
pip install -U --pre "yt-dlp[default,curl-cffi]"Or use the included update script:
.\scripts\updateytdlp.batThis project is licensed under the terms of the MIT License.
Contributions are welcome! Please open an issue or submit a pull request.