python依赖
1 | # pip uninstall scikit-image |
如果出现ssl连接错误(caused by SSLError(“Can\’t connect to HTTPS URL because the SSL module is not available.”)),需要:
1 | pip install cryptography |
如果还不行:
1 | pip uninstall pyOpenSSL |
PIL 库: http://pythonware.com/products/pil/
爬虫脚本
注:需要同级目录新建 pics 文件夹
1 | import requests |