diff --git a/download_archive.bat b/download_archive.bat index ce8d4d7..0cfe42b 100644 --- a/download_archive.bat +++ b/download_archive.bat @@ -1 +1 @@ -youtube-dl --config-location youtube-dl.conf \ No newline at end of file +yt-dlp --config-location yt-dlp.conf \ No newline at end of file diff --git a/download_archive.sh b/download_archive.sh index 570a0b3..732b9f7 100755 --- a/download_archive.sh +++ b/download_archive.sh @@ -1,2 +1,2 @@ #!/bin/sh -youtube-dl --config-location youtube-dl.conf +yt-dlp --config-location yt-dlp.conf diff --git a/readme.md b/readme.md index b0e0d8a..90f9531 100644 --- a/readme.md +++ b/readme.md @@ -1,14 +1,16 @@ -# youtube-dl config - downloading entire channels for archival +# yt-dlp config - downloading entire youtube channels for archival -by https://www.reddit.com/user/Stephen304 +# Readme -https://www.reddit.com/r/DataHoarder/comments/858ny5/my_youtubedl_config_downloading_entire_channels/ +This repo contains a config file which makes it easy to download entire youtube channels, and also update them without having to re-download existing videos. + +Update 2022-09: It has been a while since youtube-dl was updated, so I have updated all the commands and config to use the current most popular youtube video downloader: yt-dlp. # Usage -Edit channel urls in `youtube-dl-channels.txt`. +Edit channel urls in `yt-dlp-channels.txt`. -Empty file `youtube-dl-archive.txt` is used to store downloaded ids. +The empty file `yt-dlp-archive.txt` is used to store downloaded video ids. ## Linux @@ -19,3 +21,9 @@ Run using `./download_archive.sh` ## Windows Run `download_archive.bat` + +## Thanks + +Thanks to https://www.reddit.com/user/Stephen304 for creating the original config, on the since deleted post: https://www.reddit.com/r/DataHoarder/comments/858ny5/my_youtubedl_config_downloading_entire_channels/ + +There is an archive of the original post at: https://archive.ph/T4sa2 diff --git a/youtube-dl-archive.txt b/yt-dlp-archive.txt similarity index 100% rename from youtube-dl-archive.txt rename to yt-dlp-archive.txt diff --git a/youtube-dl-channels.txt b/yt-dlp-channels.txt similarity index 100% rename from youtube-dl-channels.txt rename to yt-dlp-channels.txt diff --git a/youtube-dl.conf b/yt-dlp.conf similarity index 83% rename from youtube-dl.conf rename to yt-dlp.conf index 9a03d7a..80f347f 100644 --- a/youtube-dl.conf +++ b/yt-dlp.conf @@ -2,8 +2,8 @@ -o "%(uploader)s (%(uploader_id)s)/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s] [%(id)s].%(ext)s" # Archive Settings ---download-archive youtube-dl-archive.txt --a youtube-dl-channels.txt +--download-archive yt-dlp-archive.txt +-a yt-dlp-channels.txt # Uniform Format --prefer-ffmpeg