fix proxy
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user