fix
This commit is contained in:
parent
2b30701b2e
commit
c70a257baa
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ class Completion:
|
|||
|
||||
youChatSerpResults = findall(r'youChatSerpResults\ndata: (.*)\n\nevent', response.text)[0]
|
||||
thirdPartySearchResults = findall(r"thirdPartySearchResults\ndata: (.*)\n\nevent", response.text)[0]
|
||||
slots = findall(r"slots\ndata: (.*)\n\nevent", response.text)[0]
|
||||
#slots = findall(r"slots\ndata: (.*)\n\nevent", response.text)[0]
|
||||
|
||||
text = response.text.split('}]}\n\nevent: youChatToken\ndata: {"youChatToken": "')[-1]
|
||||
text = text.replace('"}\n\nevent: youChatToken\ndata: {"youChatToken": "', '')
|
||||
|
@ -67,7 +67,7 @@ class Completion:
|
|||
|
||||
extra = {
|
||||
'youChatSerpResults' : loads(youChatSerpResults),
|
||||
'slots' : loads(slots)
|
||||
#'slots' : loads(slots)
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue