How to get a json page

how to get the json data of a page, such as the user profile picture in segmentdefault comments, the number of comments, etc. When you see a https link of the teacher in the video, you directly open a json data page, and you want to do it yourself, and then extract the data and put it in the js page

.
Feb.28,2021

if people don't provide API, there is no reason to help you package the data you want into beautiful JSON objects. At this time, you can only grab the web page yourself. If API is provided, it is usually replied to you in the format of JSON or XML . Only then can you use the data directly without having to deal with it yourself.

A https link for the teacher in the video

this link is probably the API, provided by a website. What exactly is API's own search? This API is designed to make it easier for you to process data in JSON format.


first of all, the link is just an API,

as for the json data page, you can learn about the browser plug-in in json format

there is a JSONview, in chrome that you can try. It works very well. Effect:

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaba49-2076.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaba49-2076.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?