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

Adapt to new Twitch URL schemes #24263

Closed
6 tasks done
ahmedtds opened this issue Mar 6, 2020 · 1 comment
Closed
6 tasks done

Adapt to new Twitch URL schemes #24263

ahmedtds opened this issue Mar 6, 2020 · 1 comment

Comments

@ahmedtds
Copy link

ahmedtds commented Mar 6, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.03.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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.twitch.tv/educated_collins/videos?filter=archives&sort=time']
[debug] Encodings: locale cp1254, fs mbcs, out cp1254, pref cp1254
[debug] youtube-dl version 2020.03.06
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg git-2020-02-20-56df829, ffprobe git-2020-02-20-56df829, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[twitch:stream] educated_collins: Downloading stream JSON
ERROR: educated_collins is offline
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6_nk0mi2\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6_nk0mi2\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp6_nk0mi2\build\youtube_dl\extractor\twitch.py", line 582, in _real_extract
youtube_dl.utils.ExtractorError: educated_collins is offline

Description

This report is similar to this one: #11469

Twitch changed some URL schemes since then. For example https://twitch.tv/educated_collins/videos/past-broadcasts equals to this now: https://www.twitch.tv/educated_collins/videos?filter=archives&sort=time

Youtube-dl can recognize this URL: https://twitch.tv/educated_collins/videos/past-broadcasts
But it cannot recognize this URL: https://www.twitch.tv/educated_collins/videos?filter=archives&sort=time

Which is what someone can get from Twitch when browsing past broadcasts page.


@ahmedtds
Copy link
Author

I noticed this was actually a duplicate of this another report from last year: #21811

@ytdl-org ytdl-org deleted a comment from sweetrobot Sep 6, 2020
@ytdl-org ytdl-org locked and limited conversation to collaborators Sep 6, 2020
@dstftw dstftw closed this as completed in 841b683 Sep 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant