4 使用xpath解析豆瓣短評

建議用xpath不用beatifulsoup 第二種手寫xpath 完整代碼 import requests from lxml import etree url ='https://movie.douban.com/subject/6874741/comments?status=P' r = requests.get(url).text s=etree.HTML(r) #print(s.xpat
相關文章
相關標籤/搜索