streamlink: Afreecatv not working again?

Plugin Issue

  • This is a plugin issue and I have read the contribution guidelines.

Description

Seems to have stopped working some odd hours ago. It was working this morning but I’ve been getting an error the past hour. Maybe they’re redoing stuff again?

Reproduction steps / Explicit stream URLs to test

http://play.afreeca.com/user best

Log output

C:\Users\User>streamlink http://play.afreeca.com/user best
[cli][info] Found matching plugin afreeca for URL http://play.afreeca.com/user
[cli][info] Available streams: sd (worst), hd, original (best)
[cli][info] Opening stream: original (hls)
[cli][error] Try 1/1: Could not open stream <HLSStream('http://live-hls-local-cf.afreecatv.com/livestream-east-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ')> (Could not open stream: Unable to open URL: http://live-hls-local-cf.afreecatv.com/livestream-east-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ (403 Client Error: Forbidden for url: http://live-hls-local-cf.afreecatv.com/livestream-east-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ&aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ))
error: Could not open stream <HLSStream('http://live-hls-local-cf.afreecatv.com/livestream-east-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ')>, tried 1 times, exiting

Additional comments, screenshots, etc.

Love Streamlink? Please consider supporting our collective. Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 17 (2 by maintainers)

Most upvoted comments

@ZenWalk3r

your url is wrong it must be play.afreeca.com/user not afreecatv.com/user


I will update my PR where only play.afreecatv.com can be used and everything else is not allowed.

@tenminute

I can’t access afreeca.com it’s afreecatv.com for me

could you confirm that it’s afreeca.com for you or if you can access afreecatv.com


also could you check which domain is used for the other paths in your browser

api

https://github.com/streamlink/streamlink/blob/7d3b55dad7f93e5cc6e8bff4ea2dc8341755f207/src/streamlink/plugins/afreeca.py#L8

login

https://github.com/streamlink/streamlink/blob/7d3b55dad7f93e5cc6e8bff4ea2dc8341755f207/src/streamlink/plugins/afreeca.py#L49

you can see them with the Network requests (press F12 and reload)

https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor/request_list#Network_request_list

@back-to’s commit works. It messes with the login script but there’s really no point in logging in unless you’re watching questionable 19+ streams.