From 6a8bc450c17fafde1084c4e140a404c7a356b431 Mon Sep 17 00:00:00 2001 From: UrloMythus Date: Sun, 16 Mar 2025 19:04:02 +0100 Subject: [PATCH] Test for Fixing proxies for OST --- Src/API/onlineserietv.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Src/API/onlineserietv.py b/Src/API/onlineserietv.py index a1051e7..b51a139 100644 --- a/Src/API/onlineserietv.py +++ b/Src/API/onlineserietv.py @@ -73,10 +73,11 @@ async def search(showname,date,client,ismovie,episode,season): if year == date: pattern = r'https://uprot\.net/fxf/[^\s"<>]+' match = re.search(pattern, response.text) - print("Here Match",match) if match: name = a_tag.text + print("A match was found",match) flexy_link = match.group(1) + print(flexy_link) return flexy_link,name else: print("No flexy link found.") @@ -94,7 +95,6 @@ async def search(showname,date,client,ismovie,episode,season): episode = episode.zfill(2) pattern = rf'{season}x{episode}.*?