How do I find a specific div by calling the attributes of a soup? i.e. something like soup.html.body.div
however I don t see how to get the specific div with id= idname
here?
我可以做以下工作:soup.findAll(id=idname )[0]
,以获得具体标签,但我的理解是,这正在寻找整个电梯。
I imagine getting the div by attribute on the soup would be faster since you are not using findAll()
?
消防局报告,地点为html. . . .div/ form.table/ table/12.t .tr[3]
然而,在soup.html. . . . . .andiv/ <
上留下了重大错误。
<>Update:
http://www.google.com” rel=“nofollow” http://www.google.com。
<>条码>html/上/上/上/上/上/上/上/上/上/上/上/上[3]/div[3]/上/上/上/英寸>条码>。
使用<条码>限值的