- edit scraping for roxie.py
- misc edits.
This commit is contained in:
doms9 2026-03-22 01:03:58 -04:00
parent b8c07f8eec
commit 00000d9c93
2 changed files with 8 additions and 3 deletions

View file

@ -141,12 +141,10 @@ async def main() -> None:
f'tvg-name="{event}" tvg-logo="{info["logo"]}" group-title="Live Events",{event}'
)
UA = info.get("UA", network.UA)
vlc_block = [
f'#EXTVLCOPT:http-referrer={info["base"]}',
f'#EXTVLCOPT:http-origin={info["base"]}',
f"#EXTVLCOPT:http-user-agent={UA}",
f"#EXTVLCOPT:http-user-agent={info.get('UA', network.UA)}",
info["url"],
]