|
|
@ -47,6 +47,9 @@ class KimiSpider(AbstractAiSeoSpider): |
|
|
confirm_btn = self.browser_page.locator('//button[text()="知道了"]') |
|
|
confirm_btn = self.browser_page.locator('//button[text()="知道了"]') |
|
|
if await confirm_btn.is_visible(): |
|
|
if await confirm_btn.is_visible(): |
|
|
await confirm_btn.click() |
|
|
await confirm_btn.click() |
|
|
|
|
|
confirm_btn = self.browser_page.locator('//button[text()="好的"]') |
|
|
|
|
|
if await confirm_btn.is_visible(): |
|
|
|
|
|
await confirm_btn.click() |
|
|
# if self.think: |
|
|
# if self.think: |
|
|
# think_btn = self.browser_page.locator("span:text('长思考 (k1.5)')").locator('..') |
|
|
# think_btn = self.browser_page.locator("span:text('长思考 (k1.5)')").locator('..') |
|
|
# if await think_btn.is_visible(): |
|
|
# if await think_btn.is_visible(): |
|
|
|