Weibo Video Search API
Videos matching a keyword. Costs 1 credit per request.
POST/api/v1/weibo/search/videos
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/jsonquerystringrequiredSearch keyword. Max 200 characters.
Example: yu7
modestring"hot" or "all"
pageintegerResults page, 1-based. 1-50.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.weibo.request("/api/v1/weibo/search/videos", {"query": "yu7"})
print(result)Response
"result_count": 10,
"has_more": true,
"next_page": "/video?q=yu7&xsort=hot&hasvideo=1&tw=video&Refer=user_video&page=2"
},
"response_time": 2099
}