-
Notifications
You must be signed in to change notification settings - Fork 47
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
能否新增一个同类型xpath查找 #3
Comments
我也向往有这个功能 |
请问作者,你实现这个功能,大概的思路是怎样的?好奇请教 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.lzbs.com.cn/ttnews/
新闻列表页通过精简xpath确实方便很多
但是比如 第一个和第二个新闻需要手动把下标[1]删除
//ul[@Class='mlistDotBlack mrgt10']/li[1]/a
//ul[@Class='mlistDotBlack mrgt10']/li[2]/a
如果有个功能输出是 //ul[@Class='mlistDotBlack mrgt10']/li/a 就更方便了
The text was updated successfully, but these errors were encountered: