asd
This commit is contained in:
parent
5e7b81fb76
commit
174637be62
1
channel_archiver/download_archive.bat
Normal file
1
channel_archiver/download_archive.bat
Normal file
|
|
@ -0,0 +1 @@
|
|||
yt-dlp --config-location yt-dlp.conf
|
||||
3
channel_archiver/download_archive.sh
Executable file
3
channel_archiver/download_archive.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
yt-dlp --config-location yt-dlp.conf
|
||||
cd ../ && python import.py
|
||||
29
channel_archiver/readme.md
Normal file
29
channel_archiver/readme.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# yt-dlp config - downloading entire youtube channels for archival
|
||||
|
||||
# Readme
|
||||
|
||||
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](https://github.com/ytdl-org/youtube-dl) was updated, so I have updated all the commands and config to use the current most popular youtube video downloader: [yt-dlp](https://github.com/yt-dlp/yt-dlp).
|
||||
|
||||
# Usage
|
||||
|
||||
Edit channel urls in `yt-dlp-channels.txt`.
|
||||
|
||||
The empty file `yt-dlp-archive.txt` is used to store downloaded video ids.
|
||||
|
||||
## Linux
|
||||
|
||||
chmod +x download_archive.sh
|
||||
|
||||
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
|
||||
0
channel_archiver/yt-dlp-archive.txt
Normal file
0
channel_archiver/yt-dlp-archive.txt
Normal file
2
channel_archiver/yt-dlp-channels.txt
Normal file
2
channel_archiver/yt-dlp-channels.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# UnusualVideos
|
||||
https://www.youtube.com/channel/UCpnkp_D4FLPCiXOmDhoAeYA
|
||||
12
channel_archiver/yt-dlp.conf
Normal file
12
channel_archiver/yt-dlp.conf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-i
|
||||
-o "%(uploader)s (%(uploader_id)s)/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s] [%(id)s].%(ext)s"
|
||||
|
||||
# Archive Settings
|
||||
--download-archive yt-dlp-archive.txt
|
||||
-a yt-dlp-channels.txt
|
||||
-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'
|
||||
--write-description
|
||||
--write-thumbnail
|
||||
|
||||
# Debug
|
||||
-v
|
||||
Loading…
Reference in New Issue
Block a user