Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.2k stars 97 forks source link

Stream download seems to fail after ~1 hour #227

Open helpimnotdrowning opened 3 weeks ago

helpimnotdrowning commented 3 weeks ago

After 1 straight hour of downloading Sd6iI3SnXEI , ytarchive fails with the message

ERROR: Error retrieving player response: unable to retrieve player response object from watch page
WARNING: video5: Download link likely expired and stream is privated or members only, cannot continue download
WARNING: audio2: Download link likely expired and stream is privated or members only, cannot continue download

Despite these warnings, the stream was actually still live, and not a members stream.

My shell prompt times commands; that ytarchive run took "1h 3m 20.005s", with ffmpeg taking 03:34:29.05 to remux into MKV. (oops, disregard: this is the VOD runtime!!)

The command used was

ytarchive --cookies ./cookies.txt --add-metadata --no-merge --write-description --write-thumbnail --wait --retry-stream 60 --threads 5 --output "D:/ytdl//%(channel)s/%(upload_date)s - %(title)s/%(title)s [%(id)s] LIVE" https://www.youtube.com/watch?v=Sd6iI3SnXEI best

, where ./cookies.txt is cookies dumped from Firefox by yt-dlp for use by ytarchive.

I do also have Youtube open in the same Firefox session.

Using: