A collection of scripts for archival purposes.
DEPENDENCIES: yt-dlp, youtube-community-tab, ffmpeg
Copy the provided Config.exp.json5 file to Config.json5 to create your settings.
Use dl.ps1 <link> to interactively select a download script with descriptions, with auto-fallthrough for youtube.com/live streams and (non-clip) twitch.tv streams/VODs to their respective downloaders.
- [String] Generic base path for downloaders.
- Ex,
"/mnt/W/ytdl""./""C:/Users/User/Download/"
- [String] File name format for yt-dlp
- Ex
"%(uploader)s/%(upload_date)s - %(id)s - %(title)s/%(title)s [%(id)s] f%(format_id)s.%(ext)s
- [Bool: true|false] Whether to use cookies at all, or have them disabled.
- [Bool: true|false] Always use
Config.CookiesFilePathas the cookie provider instead of the browser
- [String] Cookie file path.
- Needed when
Config.AlwaysUseCookiesFileis true - Ex
"C:/Users/User/cookies.txt""/mnt/W/ytdl/cookies.txt"
- [String:
chrome|firefox| ...] Browser for yt-dlp to auto-extract cookies from whenAlwaysUseCookiesFileis false - See the yt-dlp README#Filesystem Options for supported browsers
- [String:
deno|node|bun|quickjs|none] JS runtime for solving challenges - See the yt-dlp wiki page for details
- [Int]
fulland its children scripts use a different sleep duration than other scripts. This helps prevent temp bans by YouTube (and probably other platforms) from mass downloads, like entire channels.
NOTE ABOUT CONCURRENT FRAGMENTS:
I recommend keeping the defaults pre-set, I have tested these somewhat-thouroughly and have determined
that this is about the upper limit before YouTube begins throttling your connection or temp. blocking your IP.
I am, however, in the US with a reasonably good connection, so if you find your download speed lacking or are
being throttled (WARNING: The download speed is below throttle limit or Got error: HTTP Error 403: Forbidden)
then feel free to play around with these values.
- [Int] Amount of simultanious connections allowed for video/audio (media) and subs, thumbnails, comments, not-video/audio (data).