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

[twitch.tv] Past broadcasts playlist filtering broken #11469

Closed
4 of 8 tasks
vegero opened this issue Dec 17, 2016 · 0 comments
Closed
4 of 8 tasks

[twitch.tv] Past broadcasts playlist filtering broken #11469

vegero opened this issue Dec 17, 2016 · 0 comments

Comments

@vegero
Copy link

vegero commented Dec 17, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.12.15

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Twitch's URL scheme has changed from twitch.tv/<channel>/profile/past_broadcasts to twitch.tv/<channel>/videos/past-broadcasts.

Trying to download using the previous URL now gives all videos on the channel, or equivalent to twitch.tv/<channel>/videos/all (note that v107433793 is a highlight):

$ youtube-dl -v https://www.twitch.tv/ddrjake/profile/past_broadcasts
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.twitch.tv/ddrjake/profile/past_broadcasts']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.15
[debug] Python version 3.5.2 - Linux-4.8.8-2-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.2, ffprobe 3.2, rtmpdump 2.4
[debug] Proxy map: {}
[twitch:past_broadcasts] ddrjake: Downloading channel info JSON
[twitch:past_broadcasts] ddrjake: Downloading past broadcasts videos JSON page 1
[twitch:past_broadcasts] ddrjake: Downloading past broadcasts videos JSON page 2
[download] Downloading playlist: DDRJake
[twitch:past_broadcasts] playlist DDRJake: Collected 100 video ids (downloading 100 of them)
[download] Downloading video 1 of 100
[twitch:vod] 107433793: Downloading vod info JSON
[twitch:vod] 107433793: Downloading vod access token
[twitch:vod] 107433793: Downloading m3u8 information
[debug] Invoking downloader on 'https://vod083-ttvnw.akamaized.net/706994b6fa_ddrjake_23904609408_562708593/chunked/highlight-107433793.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1541
[download] Destination: Rune Factory 4 Part 18-v107433793.mp4
[download]   2.6% of ~1011.56MiB at  6.93MiB/s ETA 05:44^C
ERROR: Interrupted by user

While the new URL isn't yet supported:

$ youtube-dl -v https://www.twitch.tv/hysranai/videos/past-broadcasts
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.twitch.tv/hysranai/videos/past-broadcasts']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.15
[debug] Python version 3.5.2 - Linux-4.8.8-2-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.2, ffprobe 3.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] past-broadcasts: Requesting header
WARNING: Falling back on generic information extractor.
[generic] past-broadcasts: Downloading webpage
[generic] past-broadcasts: Extracting information
ERROR: Unsupported URL: https://www.twitch.tv/hysranai/videos/past-broadcasts
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 357, in extract
    return self._real_extract(url)
  File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/generic.py", line 2433, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.twitch.tv/hysranai/videos/past-broadcasts

This applies for filtering uploads and highlights as well.

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

No branches or pull requests

1 participant