Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何在PageProcessor的process里面实现点击操作? #1102

Open
Mr-LiuDC opened this issue Dec 13, 2022 · 1 comment
Open

如何在PageProcessor的process里面实现点击操作? #1102

Mr-LiuDC opened this issue Dec 13, 2022 · 1 comment

Comments

@Mr-LiuDC
Copy link

我用 SeleniumDownloader 配置的 chrome 来下载网页,但是页面上有些内容是要有点击操作才会动态渲染出结果,请问在 PageProcessor的process方法中如何进行点击操作呢?或者有其他什么好的方式来实现。

@zkywalker
Copy link

自己实现一个SeleniumDownloader,在download(Request request, Task task)里添加chrome driver的操作,渲染完了再调onSuccess(request, task)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants