python爬蟲 之BeautifulSoup ... </div>] data_soup.find_all(attrs={"data-foo": "value"}) #注意這裡的atts不僅能夠搜索特殊屬性,亦可以搜索普通屬性 ...
確定! 回上一頁