抖音解析接口

/ 0评 / 0

莫名奇妙突然又正常了

 

接口:

https://peela.cn/dy/?url=分享链接
// 如:http://v.douyin.com/rT5YbS/

请求方式:GET

请求成功

// 20190617180118
// https://peela.cn/dy/?url=http://v.douyin.com/rT5YbS/

{
  "status": true,
  "nickname": "火影漫剪",
  "shortId": "1124724195",
  "userId": 78448422523,
  "awemeId": "6702720263332875523",
  "headImage": "https://p3-dy.byteimg.com/aweme/720x720/20af200043fa708b06fb6.jpeg",
  "image": "http://p1-dy.byteimg.com/large/2793500070c51b0db3c52.jpeg",
  "dynamic_cover": "https://p9-dy.byteimg.com/obj/27b6d0000384197ce82e1",
  "urls": [
    "http://v6-dy.bytecdn.cn/c049c66372db9a71616edcc32d57b6b0/5d077335/video/m/2200cff6a51a5e64d1b82901c7c1851ce8c11629511800004e0fc3920b78/?rc=M294bWs7eHJ3bjMzOGkzM0ApQHRAb0lJNTo0NDszNDw0Ozo5PDNAKXUpQGczdSlAZjN2KUBmaHV5cTFmc2hoZGY7NEBtYS5gcC0xLy9fLS1eLTBzcy1vI28jMzIuNjMtLy0tLi0uLi0uL2k6Yi5wIzphLXEjOmAtbyNwYmZyaF4ranQ6Iy8uXg%3D%3D",
    "http://v9-dy.bytecdn.cn/8622015b1927b61ae40169eed2b7df56/5d077335/video/m/2200cff6a51a5e64d1b82901c7c1851ce8c11629511800004e0fc3920b78/",
    "https://aweme-hl.snssdk.com/aweme/v1/play/?video_id=v0300fa50000bk2t2o4u08shcj1udlp0&line=0&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0",
    "https://api-hl.amemv.com/aweme/v1/play/?video_id=v0300fa50000bk2t2o4u08shcj1udlp0&line=1&ratio=540p&media_type=4&vr_type=0&improve_bitrate=0"
  ],
  "long_video": [
    
  ],
  "music_urls": [
    "http://p9-dy.byteimg.com/obj/ies-music/1636463769651208.mp3"
  ],
  "info": {
    "share_weibo_desc": "#在抖音,记录美好生活##猫和老鼠  小的时候以为猫抓不到老鼠,现在才知道他师不想失去朋友啊!          童年的回忆",
    "share_desc": "在抖音,记录美好生活",
    "bool_persist": 0,
    "share_title_other": "",
    "share_signature_url": "https://tiktokv.com/",
    "share_url": "https://www.iesdouyin.com/share/video/6702720263332875523/?region=CN&mid=6702774927961131779&u_code=gj49fkd1&titleType=title",
    "share_title": "#猫和老鼠  小的时候以为猫抓不到老鼠,现在才知道他师不想失去朋友啊!          童年的回忆",
    "share_title_myself": "",
    "share_link_desc": "#在抖音,记录美好生活##猫和老鼠  小的时候以为猫抓不到老鼠,现在才知道他师不想失去朋友啊!          童年的回忆 %s 复制此链接,打开【抖音短视频】,直接观看视频!",
    "share_signature_desc": "TikTok: Make Every Second Count",
    "share_quote": ""
  },
  "ts": 1560765678
}

请求失败:

{
    "status": false,
    "message": "地址无效"
}

功能参数:

参数:
status:请求状态码true/false  
message:提示文本,返回结果错误时会返回地址信息  
nickname:抖音昵称  
awemeId:视频资源Id
info:视频信息 
image:封面图片地址(静态)
headImage:用户头像地址  
urls:无水印地址  
music_urls:音乐原声地址 
dynamic_cover:动态封面图(19-06-05加)  
long_video:长视频(完整视频信息(19-06-05加)  
userId:作者userId(19-06-05加)  
shortId:作者抖音Id(19-06-05加)  

Google浏览器阅读Json插件推荐:JSON viewer

作者github地址:/zbfzn/douyin-clear-php

发表评论

电子邮件地址不会被公开。 必填项已用*标注