python爬虫---获取电影网站信息(xpath解析)

#!!!!需要先在python安装lxml import requests from lxml import etree # 获取电影网站信息---选用xpath解析页面 html=requests.get('http://theater.mtime.com/China_Beijing/') html2=html.content.decode('utf-8') doc=etree.HTML(ht
相关文章
相关标签/搜索