As shown in the above picture, some escape characters "\", "\\\u002F", etc. can be replaced by using the replace method.
Here, we obtain part of the data in the above picture and then adjust the format. The result is as shown in the figure:
Regarding the correction method for irregular json format when crawling web pages loaded by ajax, use the replace method.
Guess you like
Origin blog.csdn.net/weixin_43810415/article/details/99653105
Recommended
Ranking