diff --git a/pytchat/core_async/livechat.py b/pytchat/core_async/livechat.py index 1eb7269..09e3c5f 100644 --- a/pytchat/core_async/livechat.py +++ b/pytchat/core_async/livechat.py @@ -218,7 +218,6 @@ class LiveChatAsync: async with session.get(url ,headers = headers) as resp: try: text = await resp.text() - status_code = resp.status livechat_json = json.loads(text) break except (ClientConnectorError,json.JSONDecodeError) : diff --git a/pytchat/parser/live.py b/pytchat/parser/live.py index 0207ac8..f362be9 100644 --- a/pytchat/parser/live.py +++ b/pytchat/parser/live.py @@ -16,8 +16,6 @@ logger = config.logger(__name__) from .. import util class Parser: - URL_LIVE = "live_chat/get_live_chat?continuation=" - URL_REPLAY = "live_chat_replay/get_live_chat_replay?continuation=" def __init__(self): self.mode = 'LIVE'