livestream_saver icon indicating copy to clipboard operation
livestream_saver copied to clipboard

Keep getting cookies expired error

Open stucker9 opened this issue 2 years ago • 2 comments

I have got the program working, but I want to get rid of the errors in case I want to record age-restricted stuff. I have used several different chrome extensions to export my cookies into netscape format. The readers tell me the expiration date is a year from the current time but the program keeps telling me the VISITOR INFO1 LIVE and YSC cookies are expired when they clearly are not. I have tried to manipulate the values and the errors persist no matter what I try. I tried removing those keys as well and that obviously didnt work either. Any insight is appreciated, thank you.

stucker9 avatar Apr 29 '22 06:04 stucker9

Sorry about these misleading warnings. These cookies in particular should be ignored as they are mostly irrelevant, so it should not matter whether or not they have expired.

Regarding the age restricted stuff, what error do you get? I have a feeling this should be handled by pytube, but in the current state, it probably doesn't work because we're using an older version of pytube for now. It will probably be fixed in a future version whenever I find the time to work on this again. For now I suggest you use hooks to execute another downloader that handles age related videos, such as yt-dlp.

glubsy avatar Apr 29 '22 18:04 glubsy

I see, good to know. I haven't gotten any error from any age-restricted videos as I haven't tried, I just didn't want to chance missing any livestreams if a streamer did mark a livestream as age gated. This tool is so useful as a handful of streamers I know do not keep the livestream public or they'll just delete it from youtube entirely as soon as the stream is over so the monitoring function is awesome. Thank you for the reply, I will heed your advice in regards to using hooks and yt-dlp. Cheers

stucker9 avatar Apr 29 '22 20:04 stucker9