diff --git a/.github/workflows/m3u8.yml b/.github/workflows/m3u8.yml index ca237cc..a9e93d7 100644 --- a/.github/workflows/m3u8.yml +++ b/.github/workflows/m3u8.yml @@ -59,6 +59,12 @@ jobs: if: steps.check_time.outputs.run == 'true' run: uv run playwright install + - name: Install Playwright deps + if: steps.check_time.outputs.run == 'true' + run: | + apt-get update + apt-get install -y libevent-2.1-7 libavif13 + - name: Fetch M3U8 if: steps.check_time.outputs.run == 'true' run: uv run M3U8/fetch.py diff --git a/M3U8/scrape/livetvsx.py b/M3U8/scrape/livetvsx.py index 1895cc9..23b85de 100644 --- a/M3U8/scrape/livetvsx.py +++ b/M3U8/scrape/livetvsx.py @@ -144,7 +144,9 @@ async def main() -> None: async with async_playwright() as p: browser = await p.firefox.launch(headless=True) - context = await browser.new_context() + context = await browser.new_context( + ignore_https_errors=True # website doesn't send valid certs + ) page = await context.new_page()