Delete unnecessary lines

This commit is contained in:
taizan-hokuto
2020-01-02 20:08:45 +09:00
parent 7766a39c9c
commit 347707a514
2 changed files with 0 additions and 3 deletions

View File

@@ -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) :

View File

@@ -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'