XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

fix

c70a257b
t.me/xtekky <98614666+xtekky@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -2
Modified you/__init__.py +2 -2
@@ -59,7 +59,7 @@ class Completion:
59 59
60 60 youChatSerpResults = findall(r'youChatSerpResults\ndata: (.*)\n\nevent', response.text)[0]
61 61 thirdPartySearchResults = findall(r"thirdPartySearchResults\ndata: (.*)\n\nevent", response.text)[0]
62 slots = findall(r"slots\ndata: (.*)\n\nevent", response.text)[0]
62 #slots = findall(r"slots\ndata: (.*)\n\nevent", response.text)[0]
63 63
64 64 text = response.text.split('}]}\n\nevent: youChatToken\ndata: {"youChatToken": "')[-1]
65 65 text = text.replace('"}\n\nevent: youChatToken\ndata: {"youChatToken": "', '')
@@ -67,7 +67,7 @@ class Completion:
67 67
68 68 extra = {
69 69 'youChatSerpResults' : loads(youChatSerpResults),
70 'slots' : loads(slots)
70 #'slots' : loads(slots)
71 71 }
72 72
73 73 return {