NVAPI Watch API (HLS access rights) - kphrx/ZenzaWatch GitHub Wiki
POST /v1/watch/{videoId}/access-rights/hls
https://nvapi.nicovideo.jp/
| key | description |
|---|---|
| Content-Type | application/json |
| X-Frontend-Id | ニコニコ動画ページのフロントエンドID。6
|
| X-Frontend-Version | ニコニコ動画ページのフロントエンドバージョン。"0"
|
| X-Request-With | https://www.nicovideo.jp |
| X-Access-Right-Key | NV Watch APIの media.domand.accessRightKey
|
| key | description |
|---|---|
| actionTrackId | Watch APIの client.watchTrackId
|
{
"outputs": [
[<video_quelity_id>, <audio_quelity_id>]
]
}{
"meta": {
"status": 201
},
"data": {
"contentUrl": "<hls_url>",
"createTime": "<request_datetime>",
"expireTime": "<request_datetime+1day>"
}
}