Xpath實戰一:解析爬取糗事百科段子

#coding=utf-8 import requests from lxml import etree def getHtml(url): page = requests.get(url) html = page.text return html def getImg(html): texts = [] html = etree.HTML(
相關文章
相關標籤/搜索