PYTHON。请大神帮看下这段代码怎么没用了?
url='http://zst.aicai.com/ssq/betOrder/'response=requests.get(url)response_html=etree...
url = 'http://zst.aicai.com/ssq/betOrder/'
response = requests.get(url)
response_html = etree.HTML(response.text)
text_path = '/html/body/div[7]/form/div[2]/table/tbody/tr/td/text()'
data_list = response_html.xpath(text_path) 展开
response = requests.get(url)
response_html = etree.HTML(response.text)
text_path = '/html/body/div[7]/form/div[2]/table/tbody/tr/td/text()'
data_list = response_html.xpath(text_path) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询