-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ニコニコ再開(8/5)への対応 #968
Comments
データ取得が視聴ページHTMLからAPI直取得に変更
以下は非ログイン(ゲスト)状態での取得例です。 長いので折りたたみ表示にしてます。 レスポンス例:通常の動画
レスポンス例:非公開動画{
"meta": {
"status": 400,
"code": "FORBIDDEN"
},
"data": {
"metadata": {
"title": "ニコニコ動画",
"linkTags": [
{
"rel": "shortcut icon",
"href": "https://resource.video.nimg.jp/web/images/favicon/favicon.ico",
"attrs": []
},
{
"rel": "icon",
"href": "https://resource.video.nimg.jp/web/images/favicon/32.png",
"attrs": {
"type": "image/png",
"sizes": "32x32"
}
},
{
"rel": "icon",
"href": "https://resource.video.nimg.jp/web/images/favicon/48.png",
"attrs": {
"type": "image/png",
"sizes": "48x48"
}
},
{
"rel": "icon",
"href": "https://resource.video.nimg.jp/web/images/favicon/96.png",
"attrs": {
"type": "image/png",
"sizes": "96x96"
}
},
{
"rel": "icon",
"href": "https://resource.video.nimg.jp/web/images/favicon/144.png",
"attrs": {
"type": "image/png",
"sizes": "144x144"
}
},
{
"rel": "preconnect",
"href": "https://resource.video.nimg.jp",
"attrs": []
},
{
"rel": "preconnect",
"href": "https://nvapi.nicovideo.jp",
"attrs": []
},
{
"rel": "preconnect",
"href": "https://ads.nicovideo.jp/",
"attrs": []
},
{
"rel": "preconnect",
"href": "https://www.googletagmanager.com",
"attrs": []
},
{
"rel": "preload",
"href": "https://res.ads.nicovideo.jp/assets/js/ads2.js?ref=video",
"attrs": {
"as": "script"
}
}
],
"metaTags": [
{
"name": "copyright",
"content": "© DWANGO Co., Ltd."
},
{
"name": "msapplication-task",
"content": "name=ニコニコ動画; action-uri=https://www.nicovideo.jp/; icon-uri=https://resource.video.nimg.jp/web/images/favicon/favicon.ico"
},
{
"property": "fb:app_id",
"content": "378853695459932"
}
],
"jsonLds": []
},
"response": {
"isCustomError": true,
"statusCode": 400,
"errorCode": "FORBIDDEN",
"reasonCode": "HIDDEN_VIDEO",
"deletedMessage": null,
"communityLink": null,
"publishScheduledAt": null,
"data": null
}
}
} |
動画視聴までの大まかな流れは変わっていません。最初の動画視聴データ取得部分だけ前のコメントの通り変化してます。 以前までの手順は以下から確認できます 2024/8/5 以降における視聴までの手順は次の通りです
(3)のレスポンス例
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
公式アナウンス
https://blog.nicovideo.jp/niconews/225330.html
対応方針
機能別の対応について
アカウントのログイン・ログアウト
TODO
ニコニコ動画
TODO
ニコニコ生放送
TODO
フォロー新着(旧 ニコレポ)
TODO
ニコニコミュニティ(廃止)
消すだけなのでそう大変さはなさそう。先んじてNiconicoTookitからCommunity関係の削除作業を進めておく。
The text was updated successfully, but these errors were encountered: