Delete unnecessary lines
This commit is contained in:
@@ -218,7 +218,6 @@ class LiveChatAsync:
|
|||||||
async with session.get(url ,headers = headers) as resp:
|
async with session.get(url ,headers = headers) as resp:
|
||||||
try:
|
try:
|
||||||
text = await resp.text()
|
text = await resp.text()
|
||||||
status_code = resp.status
|
|
||||||
livechat_json = json.loads(text)
|
livechat_json = json.loads(text)
|
||||||
break
|
break
|
||||||
except (ClientConnectorError,json.JSONDecodeError) :
|
except (ClientConnectorError,json.JSONDecodeError) :
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ logger = config.logger(__name__)
|
|||||||
|
|
||||||
from .. import util
|
from .. import util
|
||||||
class Parser:
|
class Parser:
|
||||||
URL_LIVE = "live_chat/get_live_chat?continuation="
|
|
||||||
URL_REPLAY = "live_chat_replay/get_live_chat_replay?continuation="
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.mode = 'LIVE'
|
self.mode = 'LIVE'
|
||||||
|
|||||||
Reference in New Issue
Block a user