Fix tests

This commit is contained in:
taizan-hokouto
2020-12-05 14:44:25 +09:00
parent 2c8a883ee3
commit 139dc7fce2
47 changed files with 63805 additions and 63721 deletions

View File

@@ -7,26 +7,13 @@ from pytchat.parser.live import Parser
def test_arcparam_0(mocker): def test_arcparam_0(mocker):
param = arcparam.getparam("01234567890", -1) param = arcparam.getparam("01234567890", -1)
assert param == "op2w0wQmGhxDZzhLRFFvTE1ERXlNelExTmpjNE9UQWdBUT09SARgAXICCAE%3D" assert param == "op2w0wSDARpsQ2pnYURRb0xNREV5TXpRMU5qYzRPVEFxSndvWVgxOWZYMTlmWDE5ZlgxOWZYMTlmWDE5ZlgxOWZYMTlmRWdzd01USXpORFUyTnpnNU1Cb1Q2cWpkdVFFTkNnc3dNVEl6TkRVMk56ZzVNQ0FCKOgHMAA4AEAASARSAiAAcgIIAXgA"
def test_arcparam_1(mocker): def test_arcparam_1(mocker):
param = arcparam.getparam("01234567890", seektime=100000) param = arcparam.getparam("01234567890", seektime=100000)
assert param == "op2w0wQtGhxDZzhLRFFvTE1ERXlNelExTmpjNE9UQWdBUT09KIDQ28P0AkgDYAFyAggB" assert param == "op2w0wSHARpsQ2pnYURRb0xNREV5TXpRMU5qYzRPVEFxSndvWVgxOWZYMTlmWDE5ZlgxOWZYMTlmWDE5ZlgxOWZYMTlmRWdzd01USXpORFUyTnpnNU1Cb1Q2cWpkdVFFTkNnc3dNVEl6TkRVMk56ZzVNQ0FCKIDQ28P0AjAAOABAAEgDUgIgAHICCAF4AA%3D%3D"
def test_arcparam_2(mocker):
param = arcparam.getparam("SsjCnHOk-Sk", seektime=100)
url = f"https://www.youtube.com/live_chat_replay/get_live_chat_replay?continuation={param}&pbj=1"
resp = httpx.Client(http2=True).get(url, headers=config.headers)
jsn = json.loads(resp.text)
parser = Parser(is_replay=True)
contents = parser.get_contents(jsn)
_, chatdata = parser.parse(contents)
test_id = chatdata[0]["addChatItemAction"]["item"]["liveChatTextMessageRenderer"]["id"]
assert test_id == "CjoKGkNMYXBzZTdudHVVQ0Zjc0IxZ0FkTnFnQjVREhxDSnlBNHV2bnR1VUNGV0dnd2dvZDd3NE5aZy0w"
def test_arcparam_3(mocker): def test_arcparam_3(mocker):
param = arcparam.getparam("01234567890") param = arcparam.getparam("01234567890")
assert param == "op2w0wQmGhxDZzhLRFFvTE1ERXlNelExTmpjNE9UQWdBUT09SARgAXICCAE%3D" assert param == "op2w0wSDARpsQ2pnYURRb0xNREV5TXpRMU5qYzRPVEFxSndvWVgxOWZYMTlmWDE5ZlgxOWZYMTlmWDE5ZlgxOWZYMTlmRWdzd01USXpORFUyTnpnNU1Cb1Q2cWpkdVFFTkNnc3dNVEl6TkRVMk56ZzVNQ0FCKOgHMAA4AEAASARSAiAAcgIIAXgA"

View File

@@ -6,50 +6,55 @@ parse = SuperchatCalculator()._parse
def _open_file(path): def _open_file(path):
with open(path,mode ='r',encoding = 'utf-8') as f: with open(path, mode='r', encoding='utf-8') as f:
return f.read() return f.read()
def load_chatdata(filepath): def load_chatdata(filepath):
parser = Parser(is_replay=True) parser = Parser(is_replay=True)
#print(json.loads(_open_file(filepath))) # print(json.loads(_open_file(filepath)))
contents = parser.get_contents( json.loads(_open_file(filepath))) contents = parser.get_contents(json.loads(_open_file(filepath)))[0]
return parser.parse(contents)[1] return parser.parse(contents)[1]
def test_parse_1(): def test_parse_1():
renderer ={"purchaseAmountText":{"simpleText":"¥2,000"}} renderer = {"purchaseAmountText": {"simpleText": "¥2,000"}}
symbol ,amount = parse(renderer) symbol, amount = parse(renderer)
assert symbol == '' assert symbol == ''
assert amount == 2000.0 assert amount == 2000.0
def test_parse_2(): def test_parse_2():
renderer ={"purchaseAmountText":{"simpleText":"ABC\x0a200"}} renderer = {"purchaseAmountText": {"simpleText": "ABC\x0a200"}}
symbol ,amount = parse(renderer) symbol, amount = parse(renderer)
assert symbol == 'ABC\x0a' assert symbol == 'ABC\x0a'
assert amount == 200.0 assert amount == 200.0
def test_process_0(): def test_process_0():
""" """
parse superchat data parse superchat data
""" """
chat_component = { chat_component = {
'video_id':'', 'video_id': '',
'timeout':10, 'timeout': 10,
'chatdata':load_chatdata(r"tests/testdata/calculator/superchat_0.json") 'chatdata': load_chatdata(r"tests/testdata/calculator/superchat_0.json")
} }
assert SuperchatCalculator().process([chat_component])=={'': 6800.0, '': 2.0} assert SuperchatCalculator().process([chat_component]) == {
'': 6800.0, '': 2.0}
def test_process_1(): def test_process_1():
""" """
parse no superchat data parse no superchat data
""" """
chat_component = { chat_component = {
'video_id':'', 'video_id': '',
'timeout':10, 'timeout': 10,
'chatdata':load_chatdata(r"tests/testdata/calculator/text_only.json") 'chatdata': load_chatdata(r"tests/testdata/calculator/text_only.json")
} }
assert SuperchatCalculator().process([chat_component])=={} assert SuperchatCalculator().process([chat_component]) == {}
def test_process_2(): def test_process_2():
""" """
@@ -57,12 +62,11 @@ def test_process_2():
""" """
try: try:
chat_component = { chat_component = {
'video_id':'', 'video_id': '',
'timeout':10, 'timeout': 10,
'chatdata':load_chatdata(r"tests/testdata/calculator/replay_end.json") 'chatdata': load_chatdata(r"tests/testdata/calculator/replay_end.json")
} }
assert False assert False
SuperchatCalculator().process([chat_component]) SuperchatCalculator().process([chat_component])
except ChatParseException: except ChatParseException:
assert True assert True

View File

@@ -11,7 +11,7 @@ def test_textmessage(mocker):
_json = _open_file("tests/testdata/compatible/textmessage.json") _json = _open_file("tests/testdata/compatible/textmessage.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -51,7 +51,7 @@ def test_newsponcer(mocker):
_json = _open_file("tests/testdata/compatible/newSponsor.json") _json = _open_file("tests/testdata/compatible/newSponsor.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -88,7 +88,7 @@ def test_newsponcer_rev(mocker):
_json = _open_file("tests/testdata/compatible/newSponsor_rev.json") _json = _open_file("tests/testdata/compatible/newSponsor_rev.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -125,7 +125,7 @@ def test_superchat(mocker):
_json = _open_file("tests/testdata/compatible/superchat.json") _json = _open_file("tests/testdata/compatible/superchat.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -164,7 +164,7 @@ def test_unregistered_currency(mocker):
_json = _open_file("tests/testdata/unregistered_currency.json") _json = _open_file("tests/testdata/unregistered_currency.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",

View File

@@ -18,7 +18,7 @@ def test_textmessage(mocker):
parser = Parser(is_replay=False) parser = Parser(is_replay=False)
_json = _open_file("tests/testdata/default/textmessage.json") _json = _open_file("tests/testdata/default/textmessage.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -47,7 +47,7 @@ def test_textmessage_replay_member(mocker):
parser = Parser(is_replay=True) parser = Parser(is_replay=True)
_json = _open_file("tests/testdata/default/replay_member_text.json") _json = _open_file("tests/testdata/default/replay_member_text.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -79,7 +79,7 @@ def test_superchat(mocker):
parser = Parser(is_replay=False) parser = Parser(is_replay=False)
_json = _open_file("tests/testdata/default/superchat.json") _json = _open_file("tests/testdata/default/superchat.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -121,7 +121,7 @@ def test_supersticker(mocker):
parser = Parser(is_replay=False) parser = Parser(is_replay=False)
_json = _open_file("tests/testdata/default/supersticker.json") _json = _open_file("tests/testdata/default/supersticker.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -162,7 +162,7 @@ def test_sponsor(mocker):
parser = Parser(is_replay=False) parser = Parser(is_replay=False)
_json = _open_file("tests/testdata/default/newSponsor_current.json") _json = _open_file("tests/testdata/default/newSponsor_current.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,
@@ -195,7 +195,7 @@ def test_sponsor_legacy(mocker):
parser = Parser(is_replay=False) parser = Parser(is_replay=False)
_json = _open_file("tests/testdata/default/newSponsor_lagacy.json") _json = _open_file("tests/testdata/default/newSponsor_lagacy.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 7, "timeout": 7,

View File

@@ -208,7 +208,7 @@ def test_split_none():
@fetched patch @fetched patch
|-- patch --| |-- patch --|
patch.last < parent_block.last . patch.last < parent_block.last.
| |
| |

View File

@@ -1,4 +1,4 @@
from pytchat.util.extract_video_id import extract_video_id from pytchat.util import extract_video_id
from pytchat.exceptions import InvalidVideoIdException from pytchat.exceptions import InvalidVideoIdException
VALID_TEST_PATTERNS = ( VALID_TEST_PATTERNS = (

View File

@@ -5,5 +5,5 @@ def test_liveparam_0(mocker):
_ts1= 1546268400 _ts1= 1546268400
param = liveparam._build("01234567890", param = liveparam._build("01234567890",
*([_ts1*1000000 for i in range(5)]), topchat_only=False) *([_ts1*1000000 for i in range(5)]), topchat_only=False)
test_param="0ofMyANcGhxDZzhLRFFvTE1ERXlNelExTmpjNE9UQWdBUT09KIC41tWqyt8CQAFKC1CAuNbVqsrfAlgDUIC41tWqyt8CWIC41tWqyt8CaAGCAQIIAZoBAKABgLjW1arK3wI%3D" test_param="0ofMyAN1GhxDZzhLRFFvTE1ERXlNelExTmpjNE9UQWdBUT09KIC41tWqyt8CMAA4AEABShsIABAAGAAgADoAQABKAFCAuNbVqsrfAlgDeABQgLjW1arK3wJYgLjW1arK3wJoAYIBAggBiAEAmgECCACgAYC41tWqyt8C"
assert test_param == param assert test_param == param

View File

@@ -12,29 +12,23 @@ def _open_file(path):
def test_finishedlive(*mock): def test_finishedlive(*mock):
'''配信が終了した動画を正しく処理できるか'''
_text = _open_file('tests/testdata/finished_live.json') _text = _open_file('tests/testdata/finished_live.json')
_text = json.loads(_text) _text = json.loads(_text)
try: try:
parser.parse(parser.get_contents(_text)) parser.parse(parser.get_contents(_text)[0])
assert False assert False
except NoContents: except NoContents:
assert True assert True
def test_parsejson(*mock): def test_parsejson(*mock):
'''jsonを正常にパースできるか'''
_text = _open_file('tests/testdata/paramgen_firstread.json') _text = _open_file('tests/testdata/paramgen_firstread.json')
_text = json.loads(_text) _text = json.loads(_text)
try: try:
parser.parse(parser.get_contents(_text)) s, _ = parser.parse(parser.get_contents(_text)[0])
jsn = _text assert s['timeoutMs'] == 5035
timeout = jsn["response"]["continuationContents"]["liveChatContinuation"]["continuations"][0]["timedContinuationData"]["timeoutMs"] assert s['continuation'] == "0ofMyAPiARp8Q2c4S0RRb0xhelJMZDBsWFQwdERkalFhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5YXpSTGQwbFhUMHREZGpRbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCiPz5-Os-PkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQgJqXjrPj5AJYA1CRwciOs-PkAli3pNq1k-PkAmgBggEECAEQAIgBAKABjbfnjrPj5AI%3D"
continuation = jsn["response"]["continuationContents"]["liveChatContinuation"][
"continuations"][0]["timedContinuationData"]["continuation"]
assert timeout == 5035
assert continuation == "0ofMyAPiARp8Q2c4S0RRb0xhelJMZDBsWFQwdERkalFhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5YXpSTGQwbFhUMHREZGpRbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCiPz5-Os-PkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQgJqXjrPj5AJYA1CRwciOs-PkAli3pNq1k-PkAmgBggEECAEQAIgBAKABjbfnjrPj5AI%3D"
except Exception: except Exception:
assert False assert False

View File

@@ -15,7 +15,7 @@ def test_speed_1(mocker):
_json = _open_file("tests/testdata/speed/speedtest_normal.json") _json = _open_file("tests/testdata/speed/speedtest_normal.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 10, "timeout": 10,
@@ -32,7 +32,7 @@ def test_speed_2(mocker):
_json = _open_file("tests/testdata/speed/speedtest_undefined.json") _json = _open_file("tests/testdata/speed/speedtest_undefined.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 10, "timeout": 10,
@@ -49,7 +49,7 @@ def test_speed_3(mocker):
_json = _open_file("tests/testdata/speed/speedtest_empty.json") _json = _open_file("tests/testdata/speed/speedtest_empty.json")
_, chatdata = parser.parse(parser.get_contents(json.loads(_json))) _, chatdata = parser.parse(parser.get_contents(json.loads(_json))[0])
data = { data = {
"video_id": "", "video_id": "",
"timeout": 10, "timeout": 10,

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3320,5 +3319,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -85,5 +84,4 @@
] ]
} }
} }
}
} }

View File

@@ -15,7 +15,6 @@
"url": "/live_chat_replay/get_live_chat_replay?continuation=op2w0wRyGjxDZzhhRFFvTFUzTnFRMjVJVDJzdFUyc2FFLXFvM2JrQkRRb0xVM05xUTI1SVQyc3RVMnNnQVElM0QlM0QoATAAOABAAEgEUhwIABAAGAAgACoOc3RhdGljY2hlY2tzdW1AAFgDYAFoAHIECAEQAHgA" "url": "/live_chat_replay/get_live_chat_replay?continuation=op2w0wRyGjxDZzhhRFFvTFUzTnFRMjVJVDJzdFUyc2FFLXFvM2JrQkRRb0xVM05xUTI1SVQyc3RVMnNnQVElM0QlM0QoATAAOABAAEgEUhwIABAAGAAgACoOc3RhdGljY2hlY2tzdW1AAFgDYAFoAHIECAEQAHgA"
} }
}, },
"response": {
"responseContext": { "responseContext": {
"serviceTrackingParams": [ "serviceTrackingParams": [
{ {
@@ -3096,9 +3095,8 @@
} }
] ]
} }
}
}, },
"csn": "CAXIXa-uHZnC4wL5nZ7oBQ", "csn": "CAXIXa-uHZnC4wL5nZ7oBQ",
"url": "\/live_chat_replay\/get_live_chat_replay?continuation=op2w0wRyGjxDZzhhRFFvTFUzTnFRMjVJVDJzdFUyc2FFLXFvM2JrQkRRb0xVM05xUTI1SVQyc3RVMnNnQVElM0QlM0QoATAAOABAAEgEUhwIABAAGAAgACoOc3RhdGljY2hlY2tzdW1AAFgDYAFoAHIECAEQAHgA", "url": "/live_chat_replay/get_live_chat_replay?continuation=op2w0wRyGjxDZzhhRFFvTFUzTnFRMjVJVDJzdFUyc2FFLXFvM2JrQkRRb0xVM05xUTI1SVQyc3RVMnNnQVElM0QlM0QoATAAOABAAEgEUhwIABAAGAAgACoOc3RhdGljY2hlY2tzdW1AAFgDYAFoAHIECAEQAHgA",
"xsrf_token": "QUFFLUhqbTZWWEFiT3ZxaDAtY09pRzZXSUotZC1uclFMQXxBQ3Jtc0tsOFZYN09CWFlBd2NKSFB4R3hmN3dUY2xXaW9tbzdFZlZBTllDcnBhMG9WUXVkZGZ5RGRIYkxSajBiNVpsNU5PV3hNYkhUZGJybTVEYWM2MWREbTRUYnc3XzRpeUJVbFpNR0dod1RPbGtVLWJhdkhtUVpVN0JKVGNSQVRSY0ZsODhodEwxaWdjN0pHZThlbEJVXzJMc2VXZGtQOXc=" "xsrf_token": "QUFFLUhqbTZWWEFiT3ZxaDAtY09pRzZXSUotZC1uclFMQXxBQ3Jtc0tsOFZYN09CWFlBd2NKSFB4R3hmN3dUY2xXaW9tbzdFZlZBTllDcnBhMG9WUXVkZGZ5RGRIYkxSajBiNVpsNU5PV3hNYkhUZGJybTVEYWM2MWREbTRUYnc3XzRpeUJVbFpNR0dod1RPbGtVLWJhdkhtUVpVN0JKVGNSQVRSY0ZsODhodEwxaWdjN0pHZThlbEJVXzJMc2VXZGtQOXc="
} }

View File

@@ -4,7 +4,7 @@
"st": 100 "st": 100
} }
}, },
"response": {
"responseContext": { "responseContext": {
"serviceTrackingParams": [ "serviceTrackingParams": [
{ {
@@ -1838,9 +1838,8 @@
} }
} }
}, },
"trackingParams": "CAAQ0b4BIhMI1LbVw_aa5QIV2cxMAh2AtAj8" "trackingParams": "CAAQ0b4BIhMI1LbVw_aa5QIV2cxMAh2AtAj8",
}, "url": "/live_chat/get_live_chat?continuation=0ofMyAOBAhrKAUNrd1NJUW9ZVlVOdVVsRlpTRlJ1VWt4VFJqQmpURXAzVFc1bFpFTm5FZ1V2YkdsMlpTb25DaGhWUTI1U1VWbElWRzVTVEZOR01HTk1TbmROYm1Wa1EyY1NDMDFETTNkVlNpMUNXRTVGR2tPcXVjRzlBVDBLTzJoMGRIQnpPaTh2ZDNkM0xubHZkWFIxWW1VdVkyOXRMMnhwZG1WZlkyaGhkRDkyUFUxRE0zZFZTaTFDV0U1RkptbHpYM0J2Y0c5MWREMHhJQUklM0QwAUopCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoAUPOaw8P2muUCWANoAYIBAggB",
"url": "\/live_chat\/get_live_chat?continuation=0ofMyAOBAhrKAUNrd1NJUW9ZVlVOdVVsRlpTRlJ1VWt4VFJqQmpURXAzVFc1bFpFTm5FZ1V2YkdsMlpTb25DaGhWUTI1U1VWbElWRzVTVEZOR01HTk1TbmROYm1Wa1EyY1NDMDFETTNkVlNpMUNXRTVGR2tPcXVjRzlBVDBLTzJoMGRIQnpPaTh2ZDNkM0xubHZkWFIxWW1VdVkyOXRMMnhwZG1WZlkyaGhkRDkyUFUxRE0zZFZTaTFDV0U1RkptbHpYM0J2Y0c5MWREMHhJQUklM0QwAUopCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoAUPOaw8P2muUCWANoAYIBAggB",
"csn": "PvujXbH0OIazqQHXgJ64DQ", "csn": "PvujXbH0OIazqQHXgJ64DQ",
"endpoint": { "endpoint": {
"commandMetadata": { "commandMetadata": {

View File

@@ -4,7 +4,7 @@
"st": 100 "st": 100
} }
}, },
"response": {
"responseContext": { "responseContext": {
"serviceTrackingParams": [ "serviceTrackingParams": [
{ {
@@ -1805,7 +1805,7 @@
} }
}, },
"trackingParams": "CAAQ0b4BIhMI1LbVw_aa5QIV2cxMAh2AtAj8" "trackingParams": "CAAQ0b4BIhMI1LbVw_aa5QIV2cxMAh2AtAj8"
}, ,
"url": "\/live_chat\/get_live_chat?continuation=0ofMyAOBAhrKAUNrd1NJUW9ZVlVOdVVsRlpTRlJ1VWt4VFJqQmpURXAzVFc1bFpFTm5FZ1V2YkdsMlpTb25DaGhWUTI1U1VWbElWRzVTVEZOR01HTk1TbmROYm1Wa1EyY1NDMDFETTNkVlNpMUNXRTVGR2tPcXVjRzlBVDBLTzJoMGRIQnpPaTh2ZDNkM0xubHZkWFIxWW1VdVkyOXRMMnhwZG1WZlkyaGhkRDkyUFUxRE0zZFZTaTFDV0U1RkptbHpYM0J2Y0c5MWREMHhJQUklM0QwAUopCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoAUPOaw8P2muUCWANoAYIBAggB", "url": "\/live_chat\/get_live_chat?continuation=0ofMyAOBAhrKAUNrd1NJUW9ZVlVOdVVsRlpTRlJ1VWt4VFJqQmpURXAzVFc1bFpFTm5FZ1V2YkdsMlpTb25DaGhWUTI1U1VWbElWRzVTVEZOR01HTk1TbmROYm1Wa1EyY1NDMDFETTNkVlNpMUNXRTVGR2tPcXVjRzlBVDBLTzJoMGRIQnpPaTh2ZDNkM0xubHZkWFIxWW1VdVkyOXRMMnhwZG1WZlkyaGhkRDkyUFUxRE0zZFZTaTFDV0U1RkptbHpYM0J2Y0c5MWREMHhJQUklM0QwAUopCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoAUPOaw8P2muUCWANoAYIBAggB",
"csn": "PvujXbH0OIazqQHXgJ64DQ", "csn": "PvujXbH0OIazqQHXgJ64DQ",
"endpoint": { "endpoint": {

View File

@@ -15,9 +15,9 @@
"url": "/live_chat/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xPREJQZW5SS2FIVTNOemdhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5T0RCUGVuUkthSFUzTnpnbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCja2bHMpPvkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQwJKPoqT75AJYA1DXxuTMpPvkAliL_fvZoPvkAmgBggEECAEQAIgBAKABxM3xzKT75AI%253D" "url": "/live_chat/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xPREJQZW5SS2FIVTNOemdhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5T0RCUGVuUkthSFUzTnpnbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCja2bHMpPvkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQwJKPoqT75AJYA1DXxuTMpPvkAliL_fvZoPvkAmgBggEECAEQAIgBAKABxM3xzKT75AI%253D"
} }
}, },
"url": "\/live_chat\/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xPREJQZW5SS2FIVTNOemdhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5T0RCUGVuUkthSFUzTnpnbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCja2bHMpPvkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQwJKPoqT75AJYA1DXxuTMpPvkAliL_fvZoPvkAmgBggEECAEQAIgBAKABxM3xzKT75AI%253D", "url": "/live_chat/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xPREJQZW5SS2FIVTNOemdhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5T0RCUGVuUkthSFUzTnpnbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCja2bHMpPvkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQwJKPoqT75AJYA1DXxuTMpPvkAliL_fvZoPvkAmgBggEECAEQAIgBAKABxM3xzKT75AI%253D",
"csn": "n2STXd2iKZr2gAOt9qvgCg", "csn": "n2STXd2iKZr2gAOt9qvgCg",
"response": {
"responseContext": { "responseContext": {
"serviceTrackingParams": [ "serviceTrackingParams": [
{ {
@@ -278,5 +278,4 @@
] ]
} }
} }
}
} }

View File

@@ -15,9 +15,8 @@
"url": "/live_chat/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xPREJQZW5SS2FIVTNOemdhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5T0RCUGVuUkthSFUzTnpnbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCja2bHMpPvkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQwJKPoqT75AJYA1DXxuTMpPvkAliL_fvZoPvkAmgBggEECAEQAIgBAKABxM3xzKT75AI%253D" "url": "/live_chat/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xPREJQZW5SS2FIVTNOemdhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5T0RCUGVuUkthSFUzTnpnbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCja2bHMpPvkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQwJKPoqT75AJYA1DXxuTMpPvkAliL_fvZoPvkAmgBggEECAEQAIgBAKABxM3xzKT75AI%253D"
} }
}, },
"url": "\/live_chat\/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xPREJQZW5SS2FIVTNOemdhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5T0RCUGVuUkthSFUzTnpnbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCja2bHMpPvkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQwJKPoqT75AJYA1DXxuTMpPvkAliL_fvZoPvkAmgBggEECAEQAIgBAKABxM3xzKT75AI%253D", "url": "/live_chat/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xPREJQZW5SS2FIVTNOemdhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5T0RCUGVuUkthSFUzTnpnbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCja2bHMpPvkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQwJKPoqT75AJYA1DXxuTMpPvkAliL_fvZoPvkAmgBggEECAEQAIgBAKABxM3xzKT75AI%253D",
"csn": "n2STXd2iKZr2gAOt9qvgCg", "csn": "n2STXd2iKZr2gAOt9qvgCg",
"response": {
"responseContext": { "responseContext": {
"serviceTrackingParams": [ "serviceTrackingParams": [
{ {
@@ -193,5 +192,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"serviceTrackingParams": [ "serviceTrackingParams": [
{ {
@@ -154,7 +153,6 @@
} }
] ]
} }
}
}, },
"endpoint": { "endpoint": {
"commandMetadata": { "commandMetadata": {
@@ -168,7 +166,7 @@
}, },
"csn": "n96GXabRGouFlQTigY2YDg", "csn": "n96GXabRGouFlQTigY2YDg",
"xsrf_token": "QUFFLUhqbHNNWTF3NFJqc2h3cGE1NE9FWGdaWk5mRlVhUXxBQ3Jtc0tuTWhZNFcyTW1iZnA3ZnFTYUFudVFEUVE0cnFEOVBGcEU1MEh0Zlh4bll1amVmRl9OMkxZV3pKV1ZSbExBeDctTl95NGtBVnJZdlNxeS1KdWVNempEN2N6MHhaU1laV3hnVkZPeHp1OHVDTGVFSGUyOGduT0szbDV5N05LYUZTdzdoTDRwV1VJWndaVjdQVGRjNWVpR0YwUXgtZXc=", "xsrf_token": "QUFFLUhqbHNNWTF3NFJqc2h3cGE1NE9FWGdaWk5mRlVhUXxBQ3Jtc0tuTWhZNFcyTW1iZnA3ZnFTYUFudVFEUVE0cnFEOVBGcEU1MEh0Zlh4bll1amVmRl9OMkxZV3pKV1ZSbExBeDctTl95NGtBVnJZdlNxeS1KdWVNempEN2N6MHhaU1laV3hnVkZPeHp1OHVDTGVFSGUyOGduT0szbDV5N05LYUZTdzdoTDRwV1VJWndaVjdQVGRjNWVpR0YwUXgtZXc=",
"url": "\/live_chat\/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xhelJMZDBsWFQwdERkalFhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5YXpSTGQwbFhUMHREZGpRbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCiPz5-Os-PkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQgJqXjrPj5AJYA1CRwciOs-PkAli3pNq1k-PkAmgBggEECAEQAIgBAKABjbfnjrPj5AI%253D", "url": "/live_chat/get_live_chat?continuation=0ofMyAPiARp8Q2c4S0RRb0xhelJMZDBsWFQwdERkalFhUTZxNXdiMEJQUW83YUhSMGNITTZMeTkzZDNjdWVXOTFkSFZpWlM1amIyMHZiR2wyWlY5amFHRjBQM1k5YXpSTGQwbFhUMHREZGpRbWFYTmZjRzl3YjNWMFBURWdBZyUzRCUzRCiPz5-Os-PkAjAAOABAAUorCAAQABgAIAAqDnN0YXRpY2NoZWNrc3VtOgBAAEoCCAFQgJqXjrPj5AJYA1CRwciOs-PkAli3pNq1k-PkAmgBggEECAEQAIgBAKABjbfnjrPj5AI%253D",
"timing": { "timing": {
"info": { "info": {
"st": 81 "st": 81

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -96,5 +95,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -78,5 +77,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "data" "webResponseContextExtensionData": "data"
}, },
@@ -108,5 +107,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -180,5 +179,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -95,5 +94,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -75,5 +74,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -6124,5 +6123,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -2525,5 +2524,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -1427,5 +1426,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -6124,5 +6123,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -2525,5 +2524,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -1427,5 +1426,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -3074,5 +3073,4 @@
] ]
} }
} }
}
} }

File diff suppressed because one or more lines are too long

View File

@@ -5,20 +5,17 @@
} }
}, },
"csn": "", "csn": "",
"response": { "responseContext": {},
"responseContext": {
},
"continuationContents": { "continuationContents": {
"liveChatContinuation": { "liveChatContinuation": {
"continuations": [{ "continuations": [
{
"timedContinuationData": { "timedContinuationData": {
"timeoutMs": 10000, "timeoutMs": 10000,
"continuation": "continuation" "continuation": "continuation"
} }
}]
} }
]
} }
} }
} }

View File

@@ -5,24 +5,23 @@
} }
}, },
"csn": "", "csn": "",
"response": { "responseContext": {},
"responseContext": {
},
"continuationContents": { "continuationContents": {
"liveChatContinuation": { "liveChatContinuation": {
"continuations": [{ "continuations": [
{
"timedContinuationData": { "timedContinuationData": {
"timeoutMs": 10000, "timeoutMs": 10000,
"continuation": "continuation" "continuation": "continuation"
} }
}], }
"actions": [{ ],
"actions": [
{
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -31,9 +30,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -42,9 +39,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -53,9 +48,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -64,9 +57,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -75,9 +66,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -86,9 +75,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -97,9 +84,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -108,9 +93,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -119,9 +102,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -130,9 +111,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -141,9 +120,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -152,9 +129,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -163,9 +138,7 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000000000000" "timestampUsec": "1500000000000000"
} }
} }
} }
@@ -174,15 +147,12 @@
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatTextMessageRenderer": { "liveChatTextMessageRenderer": {
"timestampUsec": "1500000030000000" "timestampUsec": "1500000030000000"
} }
} }
} }
} }
]} ]
} }
} }
} }

View File

@@ -5,18 +5,19 @@
} }
}, },
"csn": "", "csn": "",
"response": { "responseContext": {},
"responseContext": {
},
"continuationContents": { "continuationContents": {
"liveChatContinuation": { "liveChatContinuation": {
"continuations": [{ "continuations": [
{
"timedContinuationData": { "timedContinuationData": {
"timeoutMs": 10000, "timeoutMs": 10000,
"continuation": "continuation" "continuation": "continuation"
} }
}], }
"actions": [{ ],
"actions": [
{
"addChatItemAction": { "addChatItemAction": {
"liveChatPlaceholderItemRenderer": { "liveChatPlaceholderItemRenderer": {
"id": "", "id": "",
@@ -30,13 +31,11 @@
"liveChatPlaceholderItemRenderer": { "liveChatPlaceholderItemRenderer": {
"id": "", "id": "",
"timestampUsec": "1500000030000000" "timestampUsec": "1500000030000000"
} }
} }
} }
} }
]} ]
} }
} }
} }

View File

@@ -1,5 +1,4 @@
{ {
"response": {
"responseContext": { "responseContext": {
"webResponseContextExtensionData": "" "webResponseContextExtensionData": ""
}, },
@@ -505,5 +504,4 @@
] ]
} }
} }
}
} }

View File

@@ -5,66 +5,89 @@
} }
}, },
"csn": "", "csn": "",
"response": {
"responseContext": { "responseContext": {
"serviceTrackingParams": [{ "serviceTrackingParams": [
{
"service": "CSI", "service": "CSI",
"params": [{ "params": [
{
"key": "GetLiveChat_rid", "key": "GetLiveChat_rid",
"value": "" "value": ""
}, { },
{
"key": "c", "key": "c",
"value": "WEB" "value": "WEB"
}, { },
{
"key": "cver", "key": "cver",
"value": "2.20191219.03.01" "value": "2.20191219.03.01"
}, { },
{
"key": "yt_li", "key": "yt_li",
"value": "0" "value": "0"
}] }
}, { ]
},
{
"service": "GFEEDBACK", "service": "GFEEDBACK",
"params": [{ "params": [
{
"key": "e", "key": "e",
"value": "" "value": ""
}, { },
{
"key": "logged_in", "key": "logged_in",
"value": "0" "value": "0"
}] }
}, { ]
},
{
"service": "GUIDED_HELP", "service": "GUIDED_HELP",
"params": [{ "params": [
{
"key": "logged_in", "key": "logged_in",
"value": "0" "value": "0"
}] }
}, { ]
},
{
"service": "ECATCHER", "service": "ECATCHER",
"params": [{ "params": [
{
"key": "client.name", "key": "client.name",
"value": "WEB" "value": "WEB"
}, { },
{
"key": "client.version", "key": "client.version",
"value": "2.2" "value": "2.2"
}, { },
{
"key": "innertube.build.changelist", "key": "innertube.build.changelist",
"value": "228" "value": "228"
}, { },
{
"key": "innertube.build.experiments.source_version", "key": "innertube.build.experiments.source_version",
"value": "2858" "value": "2858"
}, { },
{
"key": "innertube.build.label", "key": "innertube.build.label",
"value": "youtube.ytfe.innertube_" "value": "youtube.ytfe.innertube_"
}, { },
{
"key": "innertube.build.timestamp", "key": "innertube.build.timestamp",
"value": "154" "value": "154"
}, { },
{
"key": "innertube.build.variants.checksum", "key": "innertube.build.variants.checksum",
"value": "e" "value": "e"
}, { },
{
"key": "innertube.run.job", "key": "innertube.run.job",
"value": "ytfe-innertube-replica-only.ytfe" "value": "ytfe-innertube-replica-only.ytfe"
}] }
}], ]
}
],
"webResponseContextExtensionData": { "webResponseContextExtensionData": {
"ytConfigData": { "ytConfigData": {
"csn": "ADw", "csn": "ADw",
@@ -74,13 +97,16 @@
}, },
"continuationContents": { "continuationContents": {
"liveChatContinuation": { "liveChatContinuation": {
"continuations": [{ "continuations": [
{
"timedContinuationData": { "timedContinuationData": {
"timeoutMs": 10000, "timeoutMs": 10000,
"continuation": "continuation" "continuation": "continuation"
} }
}], }
"actions": [{ ],
"actions": [
{
"addChatItemAction": { "addChatItemAction": {
"item": { "item": {
"liveChatPaidMessageRenderer": { "liveChatPaidMessageRenderer": {
@@ -136,10 +162,12 @@
} }
} }
} }
}, "clientId": "00000000000000000000" },
"clientId": "00000000000000000000"
} }
} }
]} ]
}
}, },
"xsrf_token": "xsrf_token", "xsrf_token": "xsrf_token",
@@ -155,6 +183,4 @@
"url": "/live_chat/get_live_chat?continuation=0" "url": "/live_chat/get_live_chat?continuation=0"
} }
} }
}
} }