0
点赞
收藏
分享

微信扫一扫

python bs4 Only the following pseudo-classes are implemented: nth-of-type.


用python bs4的CSS选择器报错:

NotImplementedError: Only the following pseudo-classes are implemented: nth-of-type.

原因是bs4不支持​​nth-child(3)​​​,改为​​nth-of-type(3)​​,就解决了。


举报

相关推荐

0 条评论