Browse Source

update for yt-dlp

master
Dave Man 2 years ago
parent
commit
eaed2fa3bc
6 changed files with 17 additions and 9 deletions
  1. +1
    -1
      download_archive.bat
  2. +1
    -1
      download_archive.sh
  3. +13
    -5
      readme.md
  4. +0
    -0
      yt-dlp-archive.txt
  5. +0
    -0
      yt-dlp-channels.txt
  6. +2
    -2
      yt-dlp.conf

+ 1
- 1
download_archive.bat View File

@@ -1 +1 @@
youtube-dl --config-location youtube-dl.conf
yt-dlp --config-location yt-dlp.conf

+ 1
- 1
download_archive.sh View File

@@ -1,2 +1,2 @@
#!/bin/sh
youtube-dl --config-location youtube-dl.conf
yt-dlp --config-location yt-dlp.conf

+ 13
- 5
readme.md View File

@@ -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

youtube-dl-archive.txt → yt-dlp-archive.txt View File


youtube-dl-channels.txt → yt-dlp-channels.txt View File


youtube-dl.conf → yt-dlp.conf View File

@@ -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

Loading…
Cancel
Save