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

循环点击不停止 #655

Open
dragon-feng opened this issue Jan 6, 2025 · 0 comments
Open

循环点击不停止 #655

dragon-feng opened this issue Jan 6, 2025 · 0 comments

Comments

@dragon-feng
Copy link

版本信息 | Version Information

EasySpider版本 | EasySpider Version: v0.6.3
系统版本(架构) | System Version (Architecture): windows 64
浏览器版本 | Browser Version: 131.0.6778.205:
安装方式 | Installation method:本地运行

问题描述 | Issue Description

1.点击按钮是i[@Class='el-icon-arrow-right arrow-icon expand'],获取按钮标题,和按钮下层数据,按钮有两层。我用了循环点击,他把每层的数据都能展开,但是所有数据采集完,他会自己再折叠起来。第一层一直停留在第一个元素,好像是因为第二次,一直执行的是展开,折叠这个操作,所以一直出不去了;我看咱们这儿有判断循环完成的条件,但我不知道应该怎么判断,看看如果咱们见过这个场景,麻烦给看一下,如何能在采集完数据的时候跳出这个循环。

2.是一个问题,就是咱们这工具是否能打开一个链接,链接会打开一个新页面,并采集下面的数据.

下午你关的太快了,我还想继续沟通一下。

如何复现 | Steps to Reproduce

示例任务文件 | Example Task File

Windows和Linux版本的软件设计的任务文件在软件目录下的tasks文件夹中,文件名为任务列表中任务的ID号.json;MacOS系统的任务文件目录请运行下面的命令打开tasks文件夹:

The task file designed for the Windows and Linux versions of the software is in the tasks folder in the software directory, and the file name is the ID number of the task.json in the task list; the task file directory of the MacOS system is opened by running the following command:

cd /Users/$(whoami)/Library/Application\ Support/EasySpider/tasks
open .

请将任务文件直接以文件的方式粘贴到这里,不要截图和打开复制里面的内容。

Please paste the task file directly as a file here, do not take screenshots and open to copy the content.

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

1 participant