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}.*?