Skip to content

提供抖音评论,点赞,粉丝的API接口,封装在本地服务器

Notifications You must be signed in to change notification settings

jk50505k/douyin_api

Repository files navigation

douyin_api

提供查看抖音评论,点赞,粉丝的API接口,封装在本地服务器

使用方法

pip install -r requirements.txt
在目录内输入:
python api.py
浏览其输入:127.0.0.1:5000 显示"This is DouYin API"即成功

接口文档

接口地址 参数名 调用例子 返回参数
/comment/
(视频评论)
aweme_id
(视频分享链接)
cursor
(起始的视频序号)
http://127.0.0.1:5000/comment/?aweme_id=http://v.douyin.com/dQxxCw/&cursor=0 info :数据
more: 是否有下一页
/favorite/
(用户喜欢的视频)
user_id
(用户主页分享链接)
max_cursor
(页号,第一页默认为0)
http://127.0.0.1:5000/favorite/?user_id=http://v.douyin.com/dv8GHj/&max_cursor=0 info: 数据
more :是否有下一页
max_cursor :下一页的页号
/follower/
(用户的粉丝)
$user_id
(用户主页分享链接)
max_time
(页号,入口页号默认为1538215804)
http://127.0.0.1:5000/follower/?user_id=http://v.douyin.com/dv8GHj/&max_time=1538215804 info: 数据
more :是否有下一页
max_time :下一页的页号
firstPage:第一页页号

使用效果

粉丝
follower 点赞的视频
favorite 评论
comment

About

提供抖音评论,点赞,粉丝的API接口,封装在本地服务器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages