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
相关文章
相关标签/搜索