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

遇到一个好玩的xpath,在meta写html导致xpath取不到数据 #564

Open
FBIshouxi opened this issue Sep 26, 2024 · 0 comments
Open

Comments

@FBIshouxi
Copy link

网站为: https://m.hx168.com.cn/article/5a807bfff43057c06105a0c98e5361b1.html
F12或者用xpath selector插件取的xpath为: /html/body/meta name="wjserver" content="true"[1]/div[4]/div[2]/div[1]/article[1]/div[2]/div[1]/table[1]/tbody[1]/tr[1]/td[1] 由于数据写在meta里面,导致拿到了xpath,但是取不到 xpath里面的数据。
后来使用浏览器插件 table exporter 给转excel拿下来了 。

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