Python Requests post并将得到结果转换为json

Python Requests post并将得到结果转换为json

学习了:https://blog.csdn.net/sinat_28680819/article/details/70940325  念念碎

学习了:http://docs.python-requests.org/zh_CN/latest/user/advanced.html

    response = requests.get(url)
    response.encoding = 'gb18030'
    json = response.json()

猜你喜欢

转载自www.cnblogs.com/stono/p/9095158.html