print hls
This commit is contained in:
parent
0fb2f38348
commit
81a28d0656
@ -288,6 +288,7 @@ async def rewrite(current, proxy):
|
|||||||
async with proxy.session() as session:
|
async with proxy.session() as session:
|
||||||
resp = await session.get(current)
|
resp = await session.get(current)
|
||||||
text = await resp.text()
|
text = await resp.text()
|
||||||
|
logger.info(text)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.info(e)
|
logger.info(e)
|
||||||
if text is not None:
|
if text is not None:
|
||||||
|
@ -93,5 +93,4 @@ async def get_any(upstream, proxy, logger):
|
|||||||
for task in tasks:
|
for task in tasks:
|
||||||
if not task.done():
|
if not task.done():
|
||||||
task.cancel()
|
task.cancel()
|
||||||
logger.info(result)
|
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user