字符串不加u报错 KeyError: u'\xe5\x9b\xbd\xe5\xae\xb6'

表示使用unicode编码


或者使用img_tags.decode("utf-8")

将对应编码解码成unicode