Small fix

This commit is contained in:
chu23465 2025-04-30 10:36:32 +05:30
parent e3eb83b4ae
commit e018a7c615
2 changed files with 5 additions and 2 deletions

View File

@ -111,7 +111,7 @@ def parse(master, source=None):
psshWV=psshWV,
psshPR=psshPR,
# extra
extra=(x, master)
extra=x
) for x in master.playlists],
# AUDIO
[AudioTrack(

View File

@ -176,7 +176,10 @@ class AppleTVPlus(BaseService):
if not stream_data["isEntitledToPlay"]:
raise self.log.exit(" - User is not entitled to play this title")
try:
self.extra_server_parameters = stream_data["assets"]["fpsKeyServerQueryParameters"]
except:
self.log.debug(stream_data)
r = requests.get(url=stream_data["assets"]["hlsUrl"], headers={'User-Agent': 'AppleTV6,2/11.1'})
res = r.text