forked from segabito/ZenzaWatch
-
-
Notifications
You must be signed in to change notification settings - Fork 11
NVAPI Watch API (HLS access rights)
kPherox edited this page Dec 10, 2023
·
3 revisions
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>"
}
}
- 再生リストAPI (
/v1/playlist
) - Watch API (
/v1/watch
)