HTML ()和etree.fromstring()都是屬於同一種“class類”,這個型別才會支援使用xpath。也就說etree.tostring()是“位元組bytes類”,不能使用xpath!
確定! 回上一頁