MediaCrawler
MediaCrawler copied to clipboard
发送请求 /comment/sub/page, 获取子评论时,返回为空。请帮忙看下原因。
string uri = "/api/sns/web/v2/comment/sub/page"; Dictionary<string, string> parameters = new Dictionary<string, string> { { "note_id", noteId }, { "root_comment_id", rootCommentId }, { "num", num.ToString() }, { "cursor", cursor } }; 请求时sub/page,获取到没有报错,但是没有数据,不清楚是什么原因。 Responser Body:{"code":0,"success":true,"msg":"成功","data":{"user_id":"65beddf30000000016003613","comments":[],"has_more":false,"time":1707300933533}}
先排除自身参数传递的评论ID这些是否有错,看错误应该是rootcommentid没有查询到子评论。