Closed cornbreadman closed 5 months ago
Ah yeah, I ran into this issue once as well. Can probably hack around it and a couple other issues in regards to no longer being able to grab stream URLs by adding more state info.
That's good to hear! I'm currently testing the Private/Incognito tab > export cookies.txt workaround to see how long a session will last before needing to update/export another txt file.
As for the login thing spamming every 1 second issue.. I hope there's a fix for that in the near future as one bad live stream can bring down a entire monitoring farm!
Hey again! Is there a option to prevent ytarchive from checking/spamming the login/cookies every 1 second or does it only spam when there's a cookies file attached to the command chain? It happened when a live stream went into 'Age Restricted' mid stream & just spammed it about 395 times before flagging my IP as a potential bot & having me to check the 'I'm not a robot' tab. I beleave I updated my cookies file about 1-2 days ago.
Maybe add a --login retries & --login attempts for this kind of error to prevent it from spamming every 1 second?
There's a older program I use (and still use as a backup: https://github.com/mrwnwttk/youtube_stream_capture) that would be able to continue to capture the live stream even if it went into 'Age Restricted' as long as it was capturing before it went into 'Age Restricted' mode. I have the tutorial video (now deleted) saved locally in case you need to look at it.