Python:解决网络爬虫返回文本中中文显示“\uxxxx”的问题
一、问题描述 我们在网络爬虫时常常遇到好不容易爬到了想要的内容,结果文本中中文显示 “\uxxxx” 的问题,这里展示我遇到的情况: <html> <head></head> <body> <pre style="word-wrap: break-word; white-space: pre-wrap;"> {"code":200, "msg":"success", "data":{ "recommend_card_num":0, "count":{ "all":8,"enable":8,"draft":0,"deleted":0,"private":0,"audit":0,"original":0}, "list":[{"ArticleId":"104551659","Title":"Python\uff1a\u4e00\u6b21\u767b\u5f55\uff0c\u89e3\u51b3\u722c\u53d6\u6dd8\u5b9d\u5546\u54c1\u8bc4\u4ef7\u7e41\u6742\u7684\u95ee\u9898\u2014\u2014\u7b80\u8ff0 Headers \u7684\u4f7f\u7528","PostTime":"2020\u5e7402\u670828\u65e5 12:28:23","ViewCount":"13",