mirror of https://github.com/streamlink/streamlink
plugins.showroom: fix geo-block check
This commit is contained in:
parent
f87bbd59f5
commit
3d8860e6b8
|
@ -84,7 +84,7 @@ class Showroom(Plugin):
|
|||
)
|
||||
|
||||
res = self.session.http.get(url, acceptable_status=(200, 403, 404))
|
||||
if res.headers["Content-Type"] != "application/x-mpegURL":
|
||||
if res.headers["Content-Type"] not in ("application/x-mpegURL", "application/vnd.apple.mpegurl"):
|
||||
log.error("This stream is restricted")
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue