From 00000d9dca619c583528e3e3e2c475f42fea033d Mon Sep 17 00:00:00 2001 From: doms9 <96013514+doms9@users.noreply.github.com> Date: Sat, 29 Nov 2025 12:04:59 -0500 Subject: [PATCH] e --- M3U8/scrapers/watchfooty.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/M3U8/scrapers/watchfooty.py b/M3U8/scrapers/watchfooty.py index aed56d5..18fd339 100644 --- a/M3U8/scrapers/watchfooty.py +++ b/M3U8/scrapers/watchfooty.py @@ -122,6 +122,13 @@ async def process_event( log.warning(f"URL {url_num}) No available stream links.") return + first_available = await page.wait_for_selector( + 'a[href*="/stream/"]', + timeout=5_000, + ) + + await first_available.click() + wait_task = asyncio.create_task(got_one.wait()) try: