随笔分类 -  Python学习之路

刚刚开始接触Python学习,记录学习和实验阶段的异常解决方案
摘要:本篇文章主要介绍requests获取网页内容出现 'NoneType' object has no attribute 'xpath' 异常的解决思路 下面是出错的代码: import requests from lxml import etree response = requests.get(' 阅读全文
posted @ 2020-08-10 14:20 IT_小树 阅读(13227) 评论(0) 推荐(0)