e
This commit is contained in:
parent
08c92e18f1
commit
00000d9f8e
2 changed files with 9 additions and 1 deletions
6
.github/workflows/m3u8.yml
vendored
6
.github/workflows/m3u8.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue