fix proxy

This commit is contained in:
Yuriy Yuriev
2026-05-22 01:37:38 +07:00
parent 2f18f4a5a1
commit 41d34aba03
3 changed files with 10 additions and 18 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ async def get_viewer_count(channel: str) -> int | None:
stream = data.get("data", {}).get("user", {}).get("stream")
count = stream.get("viewersCount", 0) if stream else 0
logger.info(f"Viewers on {channel}: {count}")
logger.debug(f"Viewers on {channel}: {count}")
return count
except Exception as e: