diff --git a/spider/task.py b/spider/task.py index 0599b2d..64d63bb 100644 --- a/spider/task.py +++ b/spider/task.py @@ -263,7 +263,7 @@ def retry_get_new_video(page, cookies, video_count): new_videO_count = get_video_count(page, cookies) # 如果新视频数量大于初始视频数量,则表示有新视频上传 if new_videO_count > video_count: - page.query_selector_all('//img[@alt="View photo"]')[0].click() + page.query_selector_all('//img[@alt="View photo"]')[0].hover().click() page.reload() return page.url