官方文档:https://google-images-download.readthedocs.io/en/latest/
总结:不好用维护差
官方文档安装的gui的也没有说啥版本
现在的版本在Python2.7里不支持非ascii编码,在python3.7里不支持非utf-8编码(中文没问题但是法语等不支持)
python3语言编码问题
print(iteration.encode('raw_unicode_escape').decode('utf-8'))
这句默认的把编码转换到unicode然后重新decode到utf-8,但是输入中文没问题,输入其他特殊字符的时候会导致错误说utf-8无法decode 0xfx似乎是unicode的头。
稍微改了一下成功下载了,comment了一个最简单的修改源码方式:
It's a bug while trying to print the exactly name in the utf-8 encoding. if you were using python3, you can just git clone the project and remove the decode in google_images_download/google_images_download.py like this:
print(iteration.encode('raw_unicode_escape').decode(&