You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"data":{"list":[{"title":"adidas originals Yeezy 450 "Cloud White" H68038"},{"title":"adidas "Have A Good Game" H68038"}],"next":true,"total":2000},"result":1}
The Problem:
json_obj = json.loads(json_str) <- Go Error
json.decoder.JSONDecodeError: Expecting ',' delimiter: line
The basic reason:
when response's content-type is text/html;
the HTML character entities ( " ) changed to ( " ) and destory json format
so, my question is how can i change content-type [ text/html; ] to [ application/json; ] , or how can i avoid ( " ) changed to ( " )
thank you very much!
The text was updated successfully, but these errors were encountered:
crawling vuejs site' background json data api
when response's content-type is text/html;
the HTML character entities (
"
) changed to ("
) and destory json formatso, my question is how can i change content-type [ text/html; ] to [ application/json; ] , or how can i avoid (
"
) changed to ("
)thank you very much!
The text was updated successfully, but these errors were encountered: