From 1e5858e7c4c51ec0da32ab34f86b15e828319434 Mon Sep 17 00:00:00 2001 From: work Date: Tue, 24 Jun 2025 13:57:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=88=87=E6=8D=A2=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E4=B8=AD=E8=AE=BE=E7=BD=AE=E7=9A=84=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spider/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spider/task.py b/spider/task.py index a60e0ee..44e1999 100644 --- a/spider/task.py +++ b/spider/task.py @@ -754,7 +754,7 @@ def _change_language(page): sleep(1, 2) # 点击切换语言 page.wait_for_selector( - 'i[style*="background-position: 0px -373px"][style*="https://static.xx.fbcdn.net/rsrc.php/v4/y9/r/6PURteH52fZ.png"]', + 'i[style*="background-position: 0px -621px"][style*="https://static.xx.fbcdn.net/rsrc.php/v4/yY/r/yqlvyVYxGJ0.png"]', timeout=10000).click(force=True) sleep(1, 2) # 点击英文