You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我在使用Latex全文翻译功能的时候最后翻译得到的文章有些地方没变,通过在网页上浏览翻译结果发现没被翻译的段落右边都是Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.试着在以前的issues里寻找答案,发现您给过一个链接acheong08/EdgeGPT#586 我在观看之后还是没弄清楚该怎么解决上述问题,是需要把def getCookies(url): import browser_cookie3 browsers = [ # browser_cookie3.chrome, # browser_cookie3.chromium, # browser_cookie3.opera, # browser_cookie3.opera_gx, # browser_cookie3.brave, browser_cookie3.edge, # browser_cookie3.vivaldi, # browser_cookie3.firefox, # browser_cookie3.librewolf, # browser_cookie3.safari, ] for browser_fn in browsers: # if browser isn't installed browser_cookie3 raises exception # hence we need to ignore it and try to find the right one try: cookies = [] cj = browser_fn(domain_name=url) for cookie in cj: cookies.append(cookie.__dict__) return cookies except: continue bot = EdgeGPT.Chatbot(cookies=getCookies('.bing.com'))
这两段代码加进这个项目里吗?如果是的话那该把这两段代码放到哪个文件夹下的哪个文件呢?
Screen Shot | 有帮助的截图
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
No response
The text was updated successfully, but these errors were encountered:
Installation Method | 安装方法与平台
Pip Install (I used latest requirements.txt)
Version | 版本
Latest | 最新版
OS | 操作系统
Windows
Describe the bug | 简述
我在使用Latex全文翻译功能的时候最后翻译得到的文章有些地方没变,通过在网页上浏览翻译结果发现没被翻译的段落右边都是Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue.试着在以前的issues里寻找答案,发现您给过一个链接acheong08/EdgeGPT#586 我在观看之后还是没弄清楚该怎么解决上述问题,是需要把
def getCookies(url): import browser_cookie3 browsers = [ # browser_cookie3.chrome, # browser_cookie3.chromium, # browser_cookie3.opera, # browser_cookie3.opera_gx, # browser_cookie3.brave, browser_cookie3.edge, # browser_cookie3.vivaldi, # browser_cookie3.firefox, # browser_cookie3.librewolf, # browser_cookie3.safari, ] for browser_fn in browsers: # if browser isn't installed browser_cookie3 raises exception # hence we need to ignore it and try to find the right one try: cookies = [] cj = browser_fn(domain_name=url) for cookie in cj: cookies.append(cookie.__dict__) return cookies except: continue
bot = EdgeGPT.Chatbot(cookies=getCookies('.bing.com'))
这两段代码加进这个项目里吗?如果是的话那该把这两段代码放到哪个文件夹下的哪个文件呢?
Screen Shot | 有帮助的截图
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
No response
The text was updated successfully, but these errors were encountered: