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

[YouTube]youtube-dl redirects youtube.com/user/channel/live to the wrong video #26865

Open
sebma opened this issue Oct 11, 2020 · 2 comments
Open

Comments

@sebma
Copy link

@sebma sebma commented Oct 11, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.09.20
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl -j https://www.youtube.com/user/NewCreationChurch/live --playlist-items 1 -v | jq -r '.title, .id, .is_live'
[debug] System config: []
[debug] User config: ['--ignore-errors', '--prefer-ffmpeg', '--no-warnings', '--restrict-filenames', '--add-metadata', '--write-auto-sub', '--embed-subs', '--sub-lang=en,fr,es,de', '--format=mp4[height<=480]/mp4/best', '--output=%(title)s__%(format_id)s__%(id)s__%(extractor)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['-j', 'https://www.youtube.com/user/NewCreationChurch/live', '--playlist-items', '1', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.8.0 (CPython) - Linux-4.15.0-118-generic-x86_64-with-glibc2.27
[debug] exe versions: ffmpeg 4.3-2, ffprobe 4.3-2, rtmpdump 2.4
[debug] Proxy map: {}
华文崇拜(20201010日至12日)| 新造教会 ・ Mandarin Service (1012 Oct 2020) | New Creation Church
YL8WCTghMsg
null

Description

youtube-dl redirects youtube.com/user/channel/live to the wrong video which is not even a live broadcast (is_live is null instead of true) :

$ youtube-dl -j https://www.youtube.com/user/NewCreationChurch/live --playlist-items 1 | jq -r '.title, .id, .is_live'
华文崇拜(2020年10月10日至12日)| 新造教会 ・ Mandarin Service (10–12 Oct 2020) | New Creation Church
YL8WCTghMsg
null

instead of pointing to where the browser points that is to say https://www.youtube.com/watch?v=xRHIySE7S6Y :

$ youtube-dl -j https://www.youtube.com/watch?v=xRHIySE7S6Y --playlist-items 1 | jq -r '.title, .id, .is_live'
Joseph Prince at New Creation Church | 2.30pm
xRHIySE7S6Y
true

Please note that the URL https://www.youtube.com/user/NewCreationChurch/live is only available once a week.

If the links I provided are unavailable, you can try on any other channel that has a live video : https://www.youtube.com/results?sp=EgJAAQ%253D%253D&search_query=video

@sebma sebma changed the title [YouTube]youtube-dl redirects youtube.com/user/channel/live is pointing to the wrong video [YouTube]youtube-dl redirects youtube.com/user/channel/live to the wrong video Oct 11, 2020
@shinctl
Copy link

@shinctl shinctl commented Oct 22, 2020

I'm having the same issues.
It's not detecting the correct stream ID using the channel name /live

@mushroomslove
Copy link

@mushroomslove mushroomslove commented Oct 22, 2020

I'm having the same issues too from 2 days ago.
It seems youtube-dl cannot fetch the live stream but get the whole playlist that the channel has in their video.

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
3 participants
You can’t perform that action at this time.