修复了快手和抖音API

发布于 / 随笔 / 3 条评论

最近时间比较紧,博客长草了,今天修复了快手和抖音API的无水印解析,现在已可正常使用。

更新

2019.09.15

1.抖音接口增加返回字段:statistics

包含评论量comment_count,点赞量digg_count及视频长度duration


{
    "ret": 200,
    "data": {
        "source": "douyin",
        "title": "最近,你的每个黄昏是否有人陪?#黄昏 #周传雄 #小刚",
        "cover": "httpss://p3-dy.byteimg.com/img/tos-cn-p-0015/e718128d2e1e4af1b74ce6149aae2958~c5_300x400.jpeg",
        "video": "https://api.amemv.com/aweme/v1/play/?video_id=v0300f820000blht9a5b34atkesee210&line=1&ratio=720p&media_type=4&vr_type=0&test_cdn=None&improve_bitrate=0",
        "share_url": "http://v.douyin.com/55TwWc/ ",
        "statistics": {
            "aweme_id": "6729456093732392204",
            "comment_count": 6239,
            "digg_count": 182991,
            "duration": 19867
        },
        "userinfo": {
            "uid": "59592712724",
            "nickname": "@野小马",
            "avatar": "https://p9-dy.byteimg.com/aweme/100x100/1b52c0005f22e11937852.jpeg"
        }
    },
    "msg": ""
}

2019.05.28

1.修复抖音及快手无水印视频解析失败BUG。
接口地址:


https://api.cn.berryapi.net/?s=Parse/Video

请求示例:


https://api.cn.berryapi.net/?s=Parse/Video&AppKey={AppKey}&url=http://v.douyin.com/hBhusB/

返回示例:



{
    "ret": 200,
    "data": {
        "source": "douyin",
        "title": "你还能答得出这道题吗...",
        "cover": "https://pb3.pstatp.com/obj/1dce800013f2d99a6fc71",
        "video": "http://v3-dy.bytecdn.cn/e9c0b6e5e466ab8629a0aadc3fe700ae/5d1051d5/video/m/220cb54dc2c88774c6c8f0b9f47bdeec10d1161ea70800002fa594cefef0/",
        "userinfo": {
            "uid": "95692908512",
            "nickname": "@陈诗远",
            "avatar": "https://p3-dy.byteimg.com/aweme/100x100/1ca04000657e72e4d9501.jpeg"
        }
    },
    "msg": ""
}

接口支持POST方式,详情参考API文档:

https://api.cn.berryapi.net/docs.html?service=App.Parse.Video&detail=1

转载原创文章请注明,转载自: LYLARES'S BLOG » 修复了快手和抖音API
  1. avatar

    愿意付费使用 那个平台用不了

  2. 云柯博客

  3. avatar

    能给用下接口吗,或者说下抖音解析怎么修复,