For example, if you want to capture comments under this microblog, can you get the comments by capturing HTML or using the Weibo interface? I read the interface and need an authorization to get access_token before obtaining the comments, how can I obtain the access_token through code authorization? For example, if you want to capture comments under this microblog, can you get the comments by capturing HTML or using the Weibo interface? I read the interface and need an authorization to get access_token before obtaining the comments, how can I obtain the access_token through code authorization?
Reply content:
For example, if you want to capture comments under this microblog, can you get the comments by capturing HTML or using the Weibo interface? I read the interface and need an authorization to get access_token before obtaining the comments, how can I obtain the access_token through code authorization?
Take a look at the console
Http://weibo.com/aj/v6/comment/big? Ajwvr = 6 & id = 3833719532508422 &...
This address is used to obtain the comment and capture the comment based on the id.
If it is not a full capture, we recommend that you use the Weibo api to capture it. If crawlers are used to capture it, You need to log on to the relevant information, that is, you need to include cookie-related information during curl, it will be complicated. If the cookie has a certain effect, it will be more troublesome.