Delete unnecessary lines
This commit is contained in:
@@ -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) :
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user