抖音
抖音分享链接取视频 API
将分享链接解析为对应的视频详情。每次请求消耗 1 积分。
POST/api/v1/douyin/video/by-share-url
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonshare_urlstringrequireddouyin.com 或 v.douyin.com 的分享链接,必须是完整的绝对 URL。
Example: https://v.douyin.com/v1zNJi__Teg/
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/video/by-share-url", {"share_url": "https://v.douyin.com/v1zNJi__Teg/"})
print(result)Response
},
"response_time": 4974
}