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

Can't download continuous streams that last longer than the 12-hour rewind limit #38

Open
G5928158N opened this issue Apr 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@G5928158N
Copy link

G5928158N commented Apr 21, 2022

For example streams like this that go on for weeks/months:
https://www.youtube.com/watch?v=nWB0ZnYfO6I
It tries to download from segment 0, but obviously it has expired long ago, so it gets stuck trying to download it and eventually fails. ytarchive has the same issue. Is there an option to specify a segment range you can download?

https://gist.github.com/cheadrian/b661fb68a6a87ea64069e641cef68c3e
This script is able to specify a segment range and download it, but you have to manually get to network tab, get the proper links and manually tweak the script and then concatenate yourself, lots of work.

@glubsy
Copy link
Owner

glubsy commented Apr 21, 2022

Right now this is unsupported, but you could simply edit this variable (and that variable too just in case) to the segment number you wish to start from.

It's definitely a bug that I'll have to fix in the next major version.

@G5928158N
Copy link
Author

Thanks! That works pretty well. But is there a way to stop the script and force is to concatenate downloaded parts? With these continuous streams it just keeps downloading in real time forever.

@glubsy
Copy link
Owner

glubsy commented Apr 23, 2022

It might be possible to force concatenating after an X amount of segments downloaded, but that would require some code changes. I'll add it to my todo list for now.

@glubsy glubsy added the enhancement New feature or request label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants