Fixed Guardaserie

This commit is contained in:
UrloMythus
2025-05-31 15:34:10 +02:00 Unverified
parent 1a6ce330e4
commit 905d2e814c
+1 -1
View File
@@ -146,7 +146,7 @@ async def eval_solver(stream_link,proxies, ForwardProxy, client):
for i in script_all:
if detect(i.text):
unpacked_code = unpack(i.text)
match = re.search(r'sources:\s*\[\{\s*src:\s*"([^"]+)"', unpacked_code)
match = re.search( r'file:"(.*?)"', unpacked_code)
if match:
m3u8_url = match.group(1)
return m3u8_url