Browse Source

fix: css filter

wuwenyi 5 months ago
parent
commit
76d5ac0c71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      huitun/__init__.py

+ 1 - 1
huitun/__init__.py

@@ -45,7 +45,7 @@ class HuiTunBrowser(BaseBrowser):
             api.assert_not_none(tag_name, "标签不能为空")
             self.page.goto('https://xhs.huitun.com/#/note/note_search')
             # 展开全部标签
-            self.page.query_selector('zjuiSIkqQPGkA3plGE0SGQ\=\=').click()
+            self.page.query_selector('.zgInWFcVVDjRN6BUMm3N0g\=\=').click()
             self.page.query_selector(f'.IRk6XOEYweiS9APLHrOp-w\=\=:has-text("{tag_name}")').click()
             self.page.get_by_text('图文笔记', exact=True).click()
             self.page.wait_for_timeout(500)