ytarchive - monitoring a channel, downloading any live stream including members if you are one

Latest Jan 6 pre-release with potoken
https://github.com/Kethsar/ytarchive/releases
Put it in C:\yt
ffmpeg; yt-dlp's build: win64-gpl
https://github.com/yt-dlp/FFmpeg-Builds/wiki/Latest
Put exes in C:\yt\ with ytarchive.exe

Add to PATH
Windows search > type "Environment" > Edit System Environment Variables > Advanced tab > Environment Variables button > System Variables list > Edit "Path" > add new entry "C:\yt\"

Cookies downloader addon, Run in Private Windows > Allow
https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/

Download cookies from Private Window session, reason: https://github.com/yt-dlp/yt-dlp/issues/8227#issuecomment-1793513579
Open Private Firefox window
Sign in to Youtube
FF cookies addon > ALL > only need "cookies.firefox-private.txt" > put in C:\yt
Get PO Token: https://github.com/yt-dlp/yt-dlp/wiki/PO-Token-Guide
Still in Private window
Go to https://music.youtube.com/
F12 > Network tab
Filter URLS > "googlevideo.com"
Open any video and let it play, pause
Right click latest request > Copy Value > Copy URL Parameters
Paste into notepad > "pot=LONG_STRING_OF_CHARACTERS" > make note of "LONG_STRING_OF_CHARACTERS"

Close Private FF window so that cookies are never used, important read again: https://github.com/yt-dlp/yt-dlp/issues/8227#issuecomment-1793513579

Batch file to automate, I have one for each Justice member

"ytarchive-monitor-Elizabeth Rose Bloodflame Ch. hololive-EN.bat"
@echo off
TITLE ytarchive-monitor: Elizabeth Rose Bloodflame Ch. hololive-EN
Echo:ytarchive-monitor: Elizabeth Rose Bloodflame Ch. hololive-EN
cd /d "PATH_TO_DOWNLOAD_LOCATION"
echo Saving the file to %CD%
@echo on
ytarchive.exe --output "[%%(upload_date)s] %%(title)s [%%(id)s]" --cookies "C:\yt\cookies.firefox-private.txt" --potoken "LONG_STRING_OF_CHARACTERS" --monitor-channel --add-metadata --thumbnail --temporary-dir "PATH_TO_DOWNLOAD_LOCATION\tempdir" --verbose "https://www.youtube.com/@holoen_erbloodflame/live" best

PATH_TO_DOWNLOAD_LOCATION obviously where you want to start saving, will need a lot space

Check ytarchive github for more options and descriptions

yt-dlp --output formatting if you want to change it
https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#output-template

Run batch file, minimize cmd window, go about your day

Edit
Pub: 11 Mar 2025 20:29 UTC
Views: 1