print upstream url

This commit is contained in:
Roy Olav Purser 2021-05-26 16:30:59 +02:00
parent 6193b7420d
commit 0fb2f38348
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -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