streamlink / streamlink

Streamlink is a CLI utility which pipes video streams from various services into a video player
https://streamlink.github.io/
BSD 2-Clause "Simplified" License
10.05k stars 1.11k forks source link

TwitchTV HLS Playlist reload resulting in 404 errors #1734

Closed KynikossDragonn closed 6 years ago

KynikossDragonn commented 6 years ago

Checklist

Description

I'm getting 404 not found errors attempting to reload the HLS playlist while viewing some streams but not all of them.

Expected / Actual behavior

The stream should load like any other stream, including all quality options.

Reproduction steps / Explicit stream URLs to test

The following always results in a 404, but other streamers I've went to do not resort in a 404 during HLS playlist reload. (It's worth noting even trying to load the source stream results in a 404)

  1. streamlink twitch.tv/dr_doof 160p
  2. streamlink twitch.tv/dr_doof 360p
  3. streamlink twitch.tv/dr_doof best (even this is failing for me)

Logs

$ streamlink -l debug twitch.tv/dr_doof 360p
[cli][debug] OS:         Linux-4.4.0-22-generic-x86_64-with-LinuxMint-17.3-rosa
[cli][debug] Python:     2.7.6
[cli][debug] Streamlink: 0.11.0
[cli][debug] Requests(2.18.4), Socks(1.6.7), Websocket(0.47.0)
[cli][info] Found matching plugin twitch for URL twitch.tv/dr_doof
[plugin.twitch][debug] Getting live HLS streams for dr_doof
[plugin.twitch][info] Attempting to authenticate using OAuth token
[plugin.twitch][info] Successfully logged in as 
[cli][info] Available streams: audio_only, 160p (worst), 360p, 480p, 720p (best)
[cli][info] Opening stream: 360p (hls)
[stream.hls][debug] Reloading playlist
[cli][error] Try 1/1: Could not open stream <HLSStream('https://video-weaver.dfw02.hls.ttvnw.net/v1/playlist/CtIDO1XmIa3utPGluS9x1w5ayshYWOrtCBmqRopFFC5d0Y1RRg4hEDgRjJRo-XWFVsjgbdq49UnzqVuRX_uYl8mha3rV6Dc0_9Ry3Kf9ZyTkTrHcwcyVBqac47F-I2mDpoedJyRngRe_l1Zm2XpjF9XhH6_5C8TuIkW_5wMTn4fvE8V3uu-0bmrQ9OPGCbV-VryFye0je7EXO8HLIO-C2rste7SYrsEL-xFJ-VUcnUzAdqiTNAxXxRofrbOUqYPIsLF30f2pC_gz8GvvwHibFfwmWUPXkGR-cjYT5PdpShgnMoYuRwATMdm_HGKEQNOEuCTokY-ErRvocAbW9bCVqgSn6uraw87BAHZvAhOgfblAlhAaVB11AtNjPxR2ozG4COJf_Uv1Mwpa3D6x4g8ntIyenbaG9VE6T8WS4_tC7Ufe1LJczwBArXHlZNqXyyPco5eHl96j5YeDrbdayaQLERaIHEI_9U-ed1zrYjkOZZRRSI20IQsREv5ArIWVVEwxTby8mXuZ-IqZb9zxtKris9nBH9Lz5zlXpNON6n7ubTdyGNR3atC9E2qEx7zgv-uSw3dyAR1YbMurZgRt1LJu1M2G3xZUTgVV3UXnWiNECGdyqrONRxIQJOzgfawI4jDNbYzODplNyhoM8HC0oybV1mJUG5bi.m3u8')> (Could not open stream: Unable to open URL: https://video-weaver.dfw02.hls.ttvnw.net/v1/playlist/CtIDO1XmIa3utPGluS9x1w5ayshYWOrtCBmqRopFFC5d0Y1RRg4hEDgRjJRo-XWFVsjgbdq49UnzqVuRX_uYl8mha3rV6Dc0_9Ry3Kf9ZyTkTrHcwcyVBqac47F-I2mDpoedJyRngRe_l1Zm2XpjF9XhH6_5C8TuIkW_5wMTn4fvE8V3uu-0bmrQ9OPGCbV-VryFye0je7EXO8HLIO-C2rste7SYrsEL-xFJ-VUcnUzAdqiTNAxXxRofrbOUqYPIsLF30f2pC_gz8GvvwHibFfwmWUPXkGR-cjYT5PdpShgnMoYuRwATMdm_HGKEQNOEuCTokY-ErRvocAbW9bCVqgSn6uraw87BAHZvAhOgfblAlhAaVB11AtNjPxR2ozG4COJf_Uv1Mwpa3D6x4g8ntIyenbaG9VE6T8WS4_tC7Ufe1LJczwBArXHlZNqXyyPco5eHl96j5YeDrbdayaQLERaIHEI_9U-ed1zrYjkOZZRRSI20IQsREv5ArIWVVEwxTby8mXuZ-IqZb9zxtKris9nBH9Lz5zlXpNON6n7ubTdyGNR3atC9E2qEx7zgv-uSw3dyAR1YbMurZgRt1LJu1M2G3xZUTgVV3UXnWiNECGdyqrONRxIQJOzgfawI4jDNbYzODplNyhoM8HC0oybV1mJUG5bi.m3u8 (404 Client Error: Not Found for url: https://video-weaver.dfw02.hls.ttvnw.net/v1/playlist/CtIDO1XmIa3utPGluS9x1w5ayshYWOrtCBmqRopFFC5d0Y1RRg4hEDgRjJRo-XWFVsjgbdq49UnzqVuRX_uYl8mha3rV6Dc0_9Ry3Kf9ZyTkTrHcwcyVBqac47F-I2mDpoedJyRngRe_l1Zm2XpjF9XhH6_5C8TuIkW_5wMTn4fvE8V3uu-0bmrQ9OPGCbV-VryFye0je7EXO8HLIO-C2rste7SYrsEL-xFJ-VUcnUzAdqiTNAxXxRofrbOUqYPIsLF30f2pC_gz8GvvwHibFfwmWUPXkGR-cjYT5PdpShgnMoYuRwATMdm_HGKEQNOEuCTokY-ErRvocAbW9bCVqgSn6uraw87BAHZvAhOgfblAlhAaVB11AtNjPxR2ozG4COJf_Uv1Mwpa3D6x4g8ntIyenbaG9VE6T8WS4_tC7Ufe1LJczwBArXHlZNqXyyPco5eHl96j5YeDrbdayaQLERaIHEI_9U-ed1zrYjkOZZRRSI20IQsREv5ArIWVVEwxTby8mXuZ-IqZb9zxtKris9nBH9Lz5zlXpNON6n7ubTdyGNR3atC9E2qEx7zgv-uSw3dyAR1YbMurZgRt1LJu1M2G3xZUTgVV3UXnWiNECGdyqrONRxIQJOzgfawI4jDNbYzODplNyhoM8HC0oybV1mJUG5bi.m3u8))
error: Could not open stream <HLSStream('https://video-weaver.dfw02.hls.ttvnw.net/v1/playlist/CtIDO1XmIa3utPGluS9x1w5ayshYWOrtCBmqRopFFC5d0Y1RRg4hEDgRjJRo-XWFVsjgbdq49UnzqVuRX_uYl8mha3rV6Dc0_9Ry3Kf9ZyTkTrHcwcyVBqac47F-I2mDpoedJyRngRe_l1Zm2XpjF9XhH6_5C8TuIkW_5wMTn4fvE8V3uu-0bmrQ9OPGCbV-VryFye0je7EXO8HLIO-C2rste7SYrsEL-xFJ-VUcnUzAdqiTNAxXxRofrbOUqYPIsLF30f2pC_gz8GvvwHibFfwmWUPXkGR-cjYT5PdpShgnMoYuRwATMdm_HGKEQNOEuCTokY-ErRvocAbW9bCVqgSn6uraw87BAHZvAhOgfblAlhAaVB11AtNjPxR2ozG4COJf_Uv1Mwpa3D6x4g8ntIyenbaG9VE6T8WS4_tC7Ufe1LJczwBArXHlZNqXyyPco5eHl96j5YeDrbdayaQLERaIHEI_9U-ed1zrYjkOZZRRSI20IQsREv5ArIWVVEwxTby8mXuZ-IqZb9zxtKris9nBH9Lz5zlXpNON6n7ubTdyGNR3atC9E2qEx7zgv-uSw3dyAR1YbMurZgRt1LJu1M2G3xZUTgVV3UXnWiNECGdyqrONRxIQJOzgfawI4jDNbYzODplNyhoM8HC0oybV1mJUG5bi.m3u8')>, tried 1 times, exiting
beardypig commented 6 years ago

@KynikossDragonn does it work in your browser, it's not working for me - getting 404s even in my browser.

KynikossDragonn commented 6 years ago

Twitch hasn't worked in my browser for a long time now, I just get a black screen where the video player should be.

beardypig commented 6 years ago

@KynikossDragonn is it working now? Seems to be an issue on twitch's side rather than a streamlink issue.

KynikossDragonn commented 6 years ago

Yes now it's working, so I guess it's not really a plugin issue but a issue with Twitch's own servers.

I was worried something happened like some API change or something, I suppose this issue is closed?