Skip to content

个别视频点击查看全部按钮出现错误后不继续爬取 #14

@YoujiaH

Description

@YoujiaH

首先感谢大佬的好用程序,捉一个小虫:
在click_view_more里,如果某视频无法点击查看全部按钮,程序就一直停留在这一步,并未接下去爬取。

顺带一提,返回的err message是:

点击查看全部按钮时发生错误: Message: element click intercepted: Element ... is not clickable at point (198, 27). Other element would receive the click: ...
(Session info: chrome-headless-shell=124.0.6367.61)

我自行加了几行代码,让程序在出现同样错误5次之后move on并记录error_log。但也很好奇为什么会出现这样的error message

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions