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

How to get current livestream from a channel? #12766

Closed
Bangaio64 opened this issue Apr 16, 2017 · 1 comment
Closed

How to get current livestream from a channel? #12766

Bangaio64 opened this issue Apr 16, 2017 · 1 comment

Comments

@Bangaio64
Copy link

@Bangaio64 Bangaio64 commented Apr 16, 2017

Using channel/$channel_id/live doesn't work for all channels.

Example:
https://www.youtube.com/channel/UCj6PcyLvpnIRT_2W_mwa9Aw/live
Actual live id: https://www.youtube.com/watch?v=0tek2aa8hAQ

I tried:
youtube-dl -f "best" --get-id --get-title --max-downloads 1 --match-title "en directo" https://www.youtube.com/channel/UCR9120YBAqMfntqgRTKmkjQ

But the livestream video isn't always the latest one. Maybe a boolean isLive variable to use with --match-title?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 16, 2017

No way to get current live stream then. Parse it from channel page on your own.

@dstftw dstftw closed this Apr 16, 2017
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.