InvalidSelectorError: Compound class names not permitted 遇到复合class名称不允许使用时该如何来处理?
环境:python3.6 + selenium 3.11 + chromedriver.exe
我们在解析网页的时候,总是会遇到大量的tag,如何精确定位到这些tag,也是有很多的方法。
今天在用 find_element_by_class_name获取一个节点对象时,报了个错 Compound class names not permitted.
需要解析的页面结构:
原始代...
原创
2018-07-18 18:55:16 ·
14237 阅读 ·
1 评论