如题,我用requests库爬取了网页图片,但是在保存时使用write方法向本地文件写入content属性,提示参数为str类型,之后我使用decode方法转换为字符串,又提示'utf-8' codec can't decode byte 0xff in position 0: invalid start byte和a bytes-like object is required, not 'str',百度之后说要把errors参数设为ignore,但是又报错二进制模式不能设置errors参数,怎么解决?