update M3U8

This commit is contained in:
GitHub Actions Bot 2026-01-28 18:31:23 -05:00
parent 659f73f5ee
commit 2df2b31a4b
3 changed files with 981 additions and 727 deletions

View file

@ -154,7 +154,8 @@ class Network:
)
if stealth:
await context.add_init_script("""
await context.add_init_script(
"""
Object.defineProperty(navigator, "webdriver", { get: () => undefined });
Object.defineProperty(navigator, "languages", {
@ -202,7 +203,8 @@ class Network:
});
observer.observe(document.documentElement, { childList: true, subtree: true });
""")
"""
)
else:
context = await browser.new_context()
@ -239,7 +241,7 @@ class Network:
got_one: asyncio.Event,
) -> None:
invalids = ["amazonaws", "knitcdn"]
invalids = ["amazonaws", "knitcdn", "jwpltx"]
escaped = [re.escape(i) for i in invalids]