This commit is contained in:
yumoqing 2025-09-14 13:07:35 +08:00
parent 6f2c07909d
commit 10ebb5e070
4 changed files with 10 additions and 9 deletions

0
iptv/__init__.py Normal file
View File

View File

@ -10,7 +10,7 @@ from appPublic.streamhttpclient import StreamHttpClient
from appPublic.uniqueID import getID
from appPublic.log import debug
from sqlor.dbpools import DBPools
import m3u
from iptv import m3u
async def download(url):
client = StreamHttpClient()

View File

@ -1,3 +1,4 @@
from ahserver.serverenv import ServerEnv
from iptv.downloadchannels import load_url_iptv
from iptv.m3u8test import kickout_badchannels

View File

@ -14,7 +14,7 @@ async def test_channels(channels):
except ClientConnectionError as e:
c.error_code = 499
badchannels.append(c)
except Exception as e
except Exception as e:
debug(f'{c.url}, {e}')
c.errorcode = x.status_code
badchannels.append(c)