Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep getting cookies expired error #40

Open
stucker9 opened this issue Apr 29, 2022 · 2 comments
Open

Keep getting cookies expired error #40

stucker9 opened this issue Apr 29, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@stucker9
Copy link

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.

@glubsy
Copy link
Owner

glubsy commented Apr 29, 2022

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.

@stucker9
Copy link
Author

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

@glubsy glubsy added the bug Something isn't working label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants