浏览代码

update for yt-dlp

master
Dave Man 2 年前
父节点
当前提交
eaed2fa3bc
共有 6 个文件被更改,包括 17 次插入9 次删除
  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 查看文件

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

+ 1
- 1
download_archive.sh 查看文件

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

+ 13
- 5
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

youtube-dl-archive.txt → yt-dlp-archive.txt 查看文件


youtube-dl-channels.txt → yt-dlp-channels.txt 查看文件


youtube-dl.conf → 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

正在加载...
取消
保存