爬虫页面解析——使用Chrome调试工具获取XPath

按F12打开调试器,打开Elements选项卡

找到目标元素对应的标签,右键——Copy——Copy XPath

猜你喜欢

转载自blog.csdn.net/ScapeD/article/details/81835297