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

Recording throws an error after exactly an hour from start, cancelling the recording. #160

Closed
Fruktlimpa opened this issue Sep 16, 2023 · 4 comments

Comments

@Fruktlimpa
Copy link

Fruktlimpa commented Sep 16, 2023

About 3 days ago I started getting an error exactly an hour after recording. I assume this might be related to Youtube's new ad system but I can't say for sure.
Exactly one hour after the start of the recording it throws an error and jumps to merging, leaving you with an hour long recording or however much you managed to download within that hour timeframe.
I assume buying Premium and passing those cookies would solve the issue and I'm not above that, but if it is possible to have ytarchive either skip it or wait it out then that would be preferable.

If this is just me missing some setting then my bad.

cmd_6yCm0bHHdz

@Fruktlimpa Fruktlimpa changed the title Being sent an advertisement throws an error and cancels the recording Recording throws an error after exactly an hour from start, cancelling the recording. Sep 16, 2023
@Kethsar
Copy link
Owner

Kethsar commented Sep 16, 2023

If you add t he --debug flag, it should dump the HTML of the page it was trying to grab info from, so you can check what is actually causing it.
More than likely it's some bug with cookies, similar to #136

@Fruktlimpa
Copy link
Author

Thanks, I'll add that flag and see what it spits out. And also do a test run without the cookies flag and see if that avoids the issue.

@Fruktlimpa
Copy link
Author

I ran a test with the debug flag and got the same "Broken cookies" page as is mentioned in issue #136
After that I ran two tests, one without cookies and one with fresh cookies and neither gave me an error on the hour mark.

So I guess this is a result of broken or otherwise expired cookies and refreshing them or otherwise just leaving cookies out altogether will solve this issue. Can't really call it an issue to begin with since it is more a user/Youtube-side error.

My bad.

@Kethsar
Copy link
Owner

Kethsar commented Sep 16, 2023

Yeah I'm not really sure what the cause is. I've not encountered it, so I can't really debug it.
I'll just close this as a duplicate of #136.

@Kethsar Kethsar closed this as completed Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants