print upstream url
This commit is contained in:
parent
6193b7420d
commit
0fb2f38348
@ -80,7 +80,6 @@ async def get_streamlink(upstream, proxy, logger):
|
||||
|
||||
async def get_any(upstream, proxy, logger):
|
||||
tasks = []
|
||||
logger.info(upstream)
|
||||
tasks.append(asyncio.create_task(get_streamlink(upstream, proxy, logger)))
|
||||
tasks.append(asyncio.create_task(get_ytdl(upstream, proxy, logger)))
|
||||
result = None
|
||||
@ -94,4 +93,5 @@ async def get_any(upstream, proxy, logger):
|
||||
for task in tasks:
|
||||
if not task.done():
|
||||
task.cancel()
|
||||
logger.info(result)
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user