摘要: <li class='navi'> 和 <li class='navi curr'>想要拿到前者 soup.find_all(lambda tag: tag.name=='li' and tag.get('class')==['navi']) 在BS中, class属于多值属性, 它的值存储在lis 阅读全文
posted @ 2018-05-24 22:08 弱虫 阅读(1676) 评论(0) 推荐(0) 编辑