![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
江左同学
热爱生活
展开
-
BD 的一个好用的 图片 spider
分享一个巨好用的一个BD图片爬虫self.directory 是下载路径最后能手动改一下数量,我是mac ,windows的路径可能要注意一下 路径上的斜杠和反斜杠# -*- coding:utf8 -*-import requestsimport jsonfrom urllib import parseimport osimport timeclass BaiduImageSpider(object): def __init__(self): self.jso原创 2021-11-11 21:03:03 · 186 阅读 · 0 评论 -
python中的错误
python新手上路1#总结今天遇到的错误1.IndentationError:unindent does not match any outer indentation level【解决过程】##1.对于此错误,最常见的原因是,的确没有缩进。根据错误提示的行数,去代码中看了下,看起来没有什么问题呀,都有缩进,而且语法也没有错误呀。## 2.仔细研究了下代码,发现真的看不出什么问题,突然...转载 2019-09-17 23:30:16 · 109 阅读 · 0 评论