今天继续学习python爬虫。

在防止爬虫的网站上,可以添加报头伪装成浏览器访问。

但是在爬取的格式上还有问题,出现了TypeError: expected string or bytes-like object报错。

posted on 2020-01-17 21:48  雨过山  阅读(81)  评论(0编辑  收藏  举报