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

XFEstudio/gpt4free

Update cdp.py

8203b0b6
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/requests/cdp.py +1 -1
@@ -675,7 +675,7 @@ class CDPSession:
675 675 """Find and click an 'Accept' or 'Einwilligen' button, including inside iframes."""
676 676 js_code = """
677 677 (() => {
678 const targetTexts = ['Accept', 'Accept all', 'Einwilligen', 'Alle akzeptieren', 'Zustimmen und weiter'];
678 const targetTexts = ['Accept', 'Accept all', 'Accept All', 'Einwilligen', 'Alle akzeptieren', 'Zustimmen und weiter', 'Zustimmen'];
679 679
680 680 function searchDocument(doc, offsetX = 0, offsetY = 0) {
681 681 try {