From c70a257baa8f39c372bc3c765b81ed66e0291507 Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Sat, 22 Apr 2023 12:54:03 +0100 Subject: [PATCH] fix --- you/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/you/__init__.py b/you/__init__.py index dc440b7..726773e 100644 --- a/you/__init__.py +++ b/you/__init__.py @@ -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 {