From 81a28d0656c9f8af9d1e66785958fc69b8712470 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Wed, 26 May 2021 18:11:23 +0200 Subject: [PATCH] print hls --- backend/stream.py | 1 + backend/stream_providers.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/stream.py b/backend/stream.py index 5943ca0..971074a 100755 --- a/backend/stream.py +++ b/backend/stream.py @@ -288,6 +288,7 @@ async def rewrite(current, proxy): async with proxy.session() as session: resp = await session.get(current) text = await resp.text() + logger.info(text) except Exception as e: logger.info(e) if text is not None: diff --git a/backend/stream_providers.py b/backend/stream_providers.py index c162f3e..aec38d3 100755 --- a/backend/stream_providers.py +++ b/backend/stream_providers.py @@ -93,5 +93,4 @@ async def get_any(upstream, proxy, logger): for task in tasks: if not task.done(): task.cancel() - logger.info(result) return result