-
Notifications
You must be signed in to change notification settings - Fork 0
Acfun API 二级分区视频分页数据
yxlllc edited this page May 9, 2018
·
3 revisions
http://www.acfun.cn/list/getlist?channelId={channelId}&sort={sort}&pageNo={pageNo}
输入:
- channelId: 二级分区编号 (参见“二级分区对应表”,不能应用于文章区)
- sort: 排序方式
- 0 => 投稿时间降序
- 1 => 播放数降序
- 2 => 评论数降序
- 3 => 弹幕数降序
- 4 => 香蕉数降序
- 5 => 未知?
- 6 => 收藏数降序
- 7 => 最后评论时间降序
- 8 => 未知?
- pageNo => 页数(固定每页显示 20 个视频, 除 sort = 0 外最多显示 500 页即 1 万个视频)
输出:JSON格式如下
{
"data": {
"data": [{
"commentCount": "评论数",
"isTudouDomain": "是否土豆源(猜测)",
"description": "视频简介",
"channelPath": "未知",
"parentChannelId": "所属上级分区编号",
"title": "标题",
"latestCommentTime": "最后评论时间",
"duration": "视频时长",
"bananaCount": "香蕉数",
"isTopLevel": "未知?",
"userId": "up编号",
"danmuSize": "弹幕数",
"favoriteCount": "收藏数",
"id": "视频ac号",
"coverImage": "封面链接",
"channelId": "二级分区编号",
"viewCount": "播放数",
"username": "up的用户名",
"contributeTime": "投稿时间",
"videoId": "视频编号?",
"userAvatar": "up头像链接",
"verified": "未知?",
"contributeTimeFormat": "文本化投稿时间",
"viewCountFormat": "文本化播放数",
"commentCountFormat": "文本化评论数",
"link": "视频源链接",
"userUrl": "up个人空间链接",
"contributeTimeFormat2": "文本化投稿时间2"
}
],
"params": {
"channelId": "二级分区编号",
"sort": "与sort相等",
"num": "与pageNo相等",
"pageSize": "恒为20",
"startDateStr": "未知",
"endDateStr": "未知",
"tagIds": "未知",
"totalCount": "总稿件数",
"pageCount": "总页数",
}
}
}