import json
f = open("index.html", "wb")
json.dump(response.data, f)
f.close()
dumps只完成了序列化為str,
dump必須傳文件描述符,將序列化的str保存到文件中