Giter Site home page Giter Site logo

douyin_api's Introduction

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

douyin_api's People

Contributors

jk50505k avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.