mirror of
https://github.com/doms9/iptv.git
synced 2026-03-11 11:57:38 +01:00
e
This commit is contained in:
parent
530fe3e562
commit
00000d9895
14 changed files with 25 additions and 34 deletions
|
|
@ -26,7 +26,7 @@ def fix_txt(s: str) -> str:
|
|||
|
||||
async def process_event(url: str, url_num: int) -> str | None:
|
||||
if not (event_data := await network.request(url, log=log)):
|
||||
log.info(f"URL {url_num}) Failed to load url.")
|
||||
log.warning(f"URL {url_num}) Failed to load url.")
|
||||
|
||||
return
|
||||
|
||||
|
|
@ -43,7 +43,7 @@ async def process_event(url: str, url_num: int) -> str | None:
|
|||
return
|
||||
|
||||
if not (iframe_1_src_data := await network.request(iframe_1_src, log=log)):
|
||||
log.info(f"URL {url_num}) Failed to load iframe source.")
|
||||
log.warning(f"URL {url_num}) Failed to load iframe source.")
|
||||
|
||||
return
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ async def process_event(url: str, url_num: int) -> str | None:
|
|||
headers={"Referer": iframe_1_src},
|
||||
)
|
||||
):
|
||||
log.info(f"URL {url_num}) Failed to load iframe source.")
|
||||
log.warning(f"URL {url_num}) Failed to load iframe source.")
|
||||
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue