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

Reruns on Twitch are no longer recognized #26535

Closed
reallyuniquename opened this issue Sep 6, 2020 · 4 comments
Closed

Reruns on Twitch are no longer recognized #26535

reallyuniquename opened this issue Sep 6, 2020 · 4 comments

Comments

@reallyuniquename
Copy link

@reallyuniquename reallyuniquename commented Sep 6, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.09.06
  • 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

C:\>youtube-dl -v https://www.twitch.tv/reckful
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.twitch.tv/reckful']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.09.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg git-2020-08-31-4a11a6f, ffprobe git-2020-08-31-4a11a6f
[debug] Proxy map: {}
[twitch:stream] reckful: Downloading access token JSON
[twitch:stream] 9072112: Downloading stream JSON
ERROR: 9072112 is offline
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpquf06fea\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpquf06fea\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpquf06fea\build\youtube_dl\extractor\twitch.py", line 789, in _real_extract
youtube_dl.utils.ExtractorError: 9072112 is offline

Description

Rerun is a stream that is not live but active. Obviously, you can watch it.

Reruns on Twitch are no longer recognized by youtube-dl. Youtube-dl immediately exits after flagging such channels as offline while they aren't.

I don't think it has anything to do with the last update, I tried previous version 2020.07.28 that worked like a week ago but now it fails as well.

Channel from the log might become live or offline any time now. To find a channel that has a rerun on you have to scroll through this page - https://www.twitch.tv/search?term=rerun&type=channels

That's how it looks on Twitch, rerun vs live -
image

@reallyuniquename reallyuniquename changed the title Reruns on Twitch are no longer recognized by youtube-dl Reruns on Twitch are no longer recognized as active stream Sep 6, 2020
@reallyuniquename reallyuniquename changed the title Reruns on Twitch are no longer recognized as active stream Reruns on Twitch are no longer recognized Sep 6, 2020
@reallyuniquename
Copy link
Author

@reallyuniquename reallyuniquename commented Sep 9, 2020

I manually checked https://api.twitch.tv/kraken/streams/123456 endpoint and it seems it no longer reports rerun streams at all.

@marchom
Copy link

@marchom marchom commented Sep 18, 2020

I'm hitting the same issue.

@reallyuniquename
Copy link
Author

@reallyuniquename reallyuniquename commented Sep 19, 2020

Has anyone tried streamlink? Does it suffer from the same issue?

@predakanga
Copy link

@predakanga predakanga commented Sep 20, 2020

Streamlink doesn't have the same issue - I used it yesterday to record a rerun that yt-dl wouldn't grab.

For the record, I used streamlink v1.5.0, and I did notice a slight bit of weirdness; there was no "source" quality available. Not sure if that's relevant.

predakanga@z-space:~$ youtube-dl https://www.twitch.tv/criticalrole
[twitch:stream] criticalrole: Downloading access token JSON
[twitch:stream] 229729353: Downloading stream JSON
ERROR: 229729353 is offline

predakanga@z-space:~$ streamlink https://www.twitch.tv/criticalrole best -o cr.ts
[cli][info] Found matching plugin twitch for URL https://www.twitch.tv/criticalrole
[cli][info] Available streams: audio_only, 160p (worst), 360p, 480p, 720p_alt, 720p (best)
[cli][info] Opening stream: 720p (hls)

@dstftw dstftw closed this in defc820 Sep 20, 2020
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.