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

Wait for a youtube live stream, then download it when it starts? #10154

Closed
AndrewJDR opened this issue Jul 24, 2016 · 3 comments
Closed

Wait for a youtube live stream, then download it when it starts? #10154

AndrewJDR opened this issue Jul 24, 2016 · 3 comments

Comments

@AndrewJDR
Copy link

@AndrewJDR AndrewJDR commented Jul 24, 2016

I'm going to be away at the time a youtube live stream is starting, and I'd like a way to start downloading it using youtube-dl as it starts. I'm not sure whether the live stream will be archived.

Is it possible to have youtube-dl check for any active live streams on a channel and start downloading the live stream(s) if it finds one? Or any other solution that someone can think of?

This is a question, not a bug report.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 24, 2016

That is not possible with youtube-dl alone. You may want to write a wrapper that will periodically run youtube-dl on live stream URL and check. Or if you know the exact time you can schedule a cron job.

@dstftw dstftw closed this Jul 24, 2016
@AndrewJDR
Copy link
Author

@AndrewJDR AndrewJDR commented Jul 24, 2016

@dstftw No problem setting up a crontab, but if I don't know the live stream URL ahead of time, but I know that it will appear in a certain channel, is there any way around that that you know of?
i.e. is there a way to check for any active live streams on a channel and retrieve the urls to those streams?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.