Fixed Guardaserie

This commit is contained in:
UrloMythus
2025-05-31 15:34:10 +02:00 Unverified
parent 9dd25a41a9
commit 5ab8f60294
+1 -1
View File
@@ -146,7 +146,7 @@ async def eval_solver(stream_link,proxies, ForwardProxy, client):
for i in script_all: for i in script_all:
if detect(i.text): if detect(i.text):
unpacked_code = unpack(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: if match:
m3u8_url = match.group(1) m3u8_url = match.group(1)
return m3u8_url return m3u8_url