NewPipeExtractor/extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/stream/ageRestricted/generated_mock_4.json

545 lines
13 KiB
JSON

{
"request": {
"httpMethod": "POST",
"url": "https://www.youtube.com/youtubei/v1/player?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8\u0026prettyPrint\u003dfalse",
"headers": {
"Origin": [
"https://www.youtube.com"
],
"Referer": [
"https://www.youtube.com"
],
"Cookie": [
"CONSENT\u003dPENDING+562"
],
"X-YouTube-Client-Version": [
"2.20230718.08.01"
],
"X-YouTube-Client-Name": [
"1"
],
"Content-Type": [
"application/json"
],
"Accept-Language": [
"en-GB, en;q\u003d0.9"
]
},
"dataToSend": [
123,
34,
99,
112,
110,
34,
58,
34,
117,
71,
97,
97,
78,
67,
86,
113,
57,
116,
65,
74,
57,
75,
56,
106,
34,
44,
34,
99,
111,
110,
116,
101,
110,
116,
67,
104,
101,
99,
107,
79,
107,
34,
58,
116,
114,
117,
101,
44,
34,
112,
108,
97,
121,
98,
97,
99,
107,
67,
111,
110,
116,
101,
120,
116,
34,
58,
123,
34,
99,
111,
110,
116,
101,
110,
116,
80,
108,
97,
121,
98,
97,
99,
107,
67,
111,
110,
116,
101,
120,
116,
34,
58,
123,
34,
114,
101,
102,
101,
114,
101,
114,
34,
58,
34,
104,
116,
116,
112,
115,
58,
47,
47,
119,
119,
119,
46,
121,
111,
117,
116,
117,
98,
101,
46,
99,
111,
109,
47,
119,
97,
116,
99,
104,
63,
118,
61,
114,
119,
99,
102,
80,
113,
98,
65,
120,
45,
48,
34,
44,
34,
115,
105,
103,
110,
97,
116,
117,
114,
101,
84,
105,
109,
101,
115,
116,
97,
109,
112,
34,
58,
34,
49,
57,
53,
53,
55,
34,
125,
125,
44,
34,
99,
111,
110,
116,
101,
120,
116,
34,
58,
123,
34,
114,
101,
113,
117,
101,
115,
116,
34,
58,
123,
34,
105,
110,
116,
101,
114,
110,
97,
108,
69,
120,
112,
101,
114,
105,
109,
101,
110,
116,
70,
108,
97,
103,
115,
34,
58,
91,
93,
44,
34,
117,
115,
101,
83,
115,
108,
34,
58,
116,
114,
117,
101,
125,
44,
34,
99,
108,
105,
101,
110,
116,
34,
58,
123,
34,
104,
108,
34,
58,
34,
101,
110,
45,
71,
66,
34,
44,
34,
103,
108,
34,
58,
34,
71,
66,
34,
44,
34,
99,
108,
105,
101,
110,
116,
78,
97,
109,
101,
34,
58,
34,
87,
69,
66,
34,
44,
34,
111,
114,
105,
103,
105,
110,
97,
108,
85,
114,
108,
34,
58,
34,
104,
116,
116,
112,
115,
58,
47,
47,
119,
119,
119,
46,
121,
111,
117,
116,
117,
98,
101,
46,
99,
111,
109,
34,
44,
34,
99,
108,
105,
101,
110,
116,
86,
101,
114,
115,
105,
111,
110,
34,
58,
34,
50,
46,
50,
48,
50,
51,
48,
55,
49,
56,
46,
48,
56,
46,
48,
49,
34,
44,
34,
112,
108,
97,
116,
102,
111,
114,
109,
34,
58,
34,
68,
69,
83,
75,
84,
79,
80,
34,
125,
44,
34,
117,
115,
101,
114,
34,
58,
123,
34,
108,
111,
99,
107,
101,
100,
83,
97,
102,
101,
116,
121,
77,
111,
100,
101,
34,
58,
102,
97,
108,
115,
101,
125,
125,
44,
34,
114,
97,
99,
121,
67,
104,
101,
99,
107,
79,
107,
34,
58,
116,
114,
117,
101,
44,
34,
118,
105,
100,
101,
111,
73,
100,
34,
58,
34,
114,
119,
99,
102,
80,
113,
98,
65,
120,
45,
48,
34,
125
],
"localization": {
"languageCode": "en",
"countryCode": "GB"
}
},
"response": {
"responseCode": 200,
"responseMessage": "",
"responseHeaders": {
"alt-svc": [
"h3\u003d\":443\"; ma\u003d2592000,h3-29\u003d\":443\"; ma\u003d2592000"
],
"cache-control": [
"private"
],
"content-type": [
"application/json; charset\u003dUTF-8"
],
"date": [
"Sat, 22 Jul 2023 18:24:12 GMT"
],
"server": [
"scaffolding on HTTPServer2"
],
"vary": [
"Origin",
"X-Origin",
"Referer"
],
"x-content-type-options": [
"nosniff"
],
"x-frame-options": [
"SAMEORIGIN"
],
"x-xss-protection": [
"0"
]
},
"responseBody": "{\"responseContext\":{\"visitorData\":\"CgtKVXFmbklwRVRHUSjLvfClBg%3D%3D\",\"serviceTrackingParams\":[{\"service\":\"GFEEDBACK\",\"params\":[{\"key\":\"is_alc_surface\",\"value\":\"false\"},{\"key\":\"ipcc\",\"value\":\"0\"},{\"key\":\"is_viewed_live\",\"value\":\"False\"},{\"key\":\"logged_in\",\"value\":\"0\"},{\"key\":\"e\",\"value\":\"23804281,23946420,23966208,23983296,23986019,23998056,24004644,24007246,24034168,24036948,24077241,24080738,24120819,24135310,24140247,24166867,24181174,24186125,24187377,24211178,24219713,24241378,24255543,24255545,24262346,24288664,24290971,24291857,24366065,24366917,24371398,24371635,24373976,24377909,24380264,24382551,24383600,24384531,24385289,24385612,24386397,24386796,24390675,24404640,24407191,24415864,24416290,24428788,24437577,24439361,24440132,24451319,24453989,24457384,24458317,24458324,24458329,24458839,24459435,24466371,24468724,24469818,24485421,24495060,24498300,24499532,24502749,24503257,24504481,24506784,24515366,24515423,24517093,24518452,24519102,24523472,24524916,24526478,24526573,24526962,24528357,24528733,24530454,24537200,24541472,24550285,24550458,24550951,24551130,24552606,24553434,24554039,24559261,24559326,24691334,24696751,24698453,24698880,24699598,24699860,24699899,39324156,51000011,51000024\"}]},{\"service\":\"CSI\",\"params\":[{\"key\":\"c\",\"value\":\"WEB\"},{\"key\":\"cver\",\"value\":\"2.20230718.08.01\"},{\"key\":\"yt_li\",\"value\":\"0\"},{\"key\":\"GetPlayer_rid\",\"value\":\"0xdec232a1d7dc83e9\"}]},{\"service\":\"GUIDED_HELP\",\"params\":[{\"key\":\"logged_in\",\"value\":\"0\"}]},{\"service\":\"ECATCHER\",\"params\":[{\"key\":\"client.version\",\"value\":\"2.20230718\"},{\"key\":\"client.name\",\"value\":\"WEB\"},{\"key\":\"client.fexp\",\"value\":\"24550285,24551130,23986019,24380264,24518452,24537200,24526573,24517093,24495060,24382551,24377909,24554039,24407191,24440132,24390675,24386796,24499532,24288664,24451319,24457384,24255543,23946420,24550951,24699899,24386397,23804281,24524916,24696751,24458324,24373976,24466371,24459435,24519102,24219713,24437577,24485421,24004644,39324156,24526962,24502749,24371635,23998056,24036948,24241378,24416290,24366065,24187377,24291857,51000024,24077241,24699598,24371398,24211178,24366917,23983296,24553434,24181174,24528357,24034168,24385289,24428788,24186125,24504481,51000011,24498300,24458839,24439361,24515423,24559326,24007246,24552606,24385612,24530454,24255545,24526478,24506784,24559261,24458317,24691334,24515366,24404640,24698880,24135310,24080738,24290971,24166867,24415864,24120819,24528733,24384531,24383600,24550458,24262346,24453989,24458329,24503257,23966208,24523472,24699860,24469818,24468724,24698453,24541472,24140247\"}]}],\"mainAppWebResponseContext\":{\"loggedOut\":true,\"trackingParam\":\"kx_fmPxhoPZRfGKzc4_cQvAtg0W_89uLMpb1YqWnsI3BAszRgkuMsNLBwOcCE59TDtslLKPQ-SS\"},\"webResponseContextExtensionData\":{\"hasDecorated\":true}},\"playabilityStatus\":{\"status\":\"LOGIN_REQUIRED\",\"reason\":\"Sign in to confirm your age\",\"errorScreen\":{\"playerErrorMessageRenderer\":{\"subreason\":{\"runs\":[{\"text\":\"This video may be inappropriate for some users.\"}]},\"reason\":{\"simpleText\":\"Sign in to confirm your age\"},\"proceedButton\":{\"buttonRenderer\":{\"style\":\"STYLE_OVERLAY\",\"size\":\"SIZE_DEFAULT\",\"isDisabled\":false,\"text\":{\"simpleText\":\"Sign in\"},\"navigationEndpoint\":{\"clickTrackingParams\":\"CAEQ8FsiEwjzrq7n96KAAxXqwkkHHYgTBEY\u003d\",\"commandMetadata\":{\"webCommandMetadata\":{\"url\":\"https://accounts.google.com/ServiceLogin?service\u003dyoutube\u0026uilel\u003d3\u0026passive\u003dtrue\u0026continue\u003dhttps%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den-GB\u0026hl\u003den-GB\",\"webPageType\":\"WEB_PAGE_TYPE_UNKNOWN\",\"rootVe\":83769}},\"signInEndpoint\":{\"nextEndpoint\":{\"clickTrackingParams\":\"CAEQ8FsiEwjzrq7n96KAAxXqwkkHHYgTBEY\u003d\",\"urlEndpoint\":{\"url\":\"\"}}}},\"trackingParams\":\"CAEQ8FsiEwjzrq7n96KAAxXqwkkHHYgTBEY\u003d\"}},\"thumbnail\":{\"thumbnails\":[{\"url\":\"//s.ytimg.com/yts/img/meh7-vflGevej7.png\",\"width\":140,\"height\":100}]},\"icon\":{\"iconType\":\"ERROR_OUTLINE\"}}},\"desktopLegacyAgeGateReason\":1,\"contextParams\":\"Q0FFU0FnZ0M\u003d\"},\"videoDetails\":{\"videoId\":\"rwcfPqbAx-0\",\"title\":\"Russian Daft Punk\",\"lengthSeconds\":\"10\",\"channelId\":\"UCcQHIVL83g5BEQe2IJFb-6w\",\"isOwnerViewing\":false,\"shortDescription\":\"\",\"isCrawlable\":true,\"thumbnail\":{\"thumbnails\":[{\"url\":\"https://i.ytimg.com/vi/rwcfPqbAx-0/hqdefault.jpg?sqp\u003d-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG\u0026rs\u003dAOn4CLDm_ot7a-rLZFRNhg4M6IYzw8G-eg\",\"width\":168,\"height\":94},{\"url\":\"https://i.ytimg.com/vi/rwcfPqbAx-0/hqdefault.jpg?sqp\u003d-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG\u0026rs\u003dAOn4CLDxEjjpBNUd8c73fTHkiELdJGtaEQ\",\"width\":196,\"height\":110},{\"url\":\"https://i.ytimg.com/vi/rwcfPqbAx-0/hqdefault.jpg?sqp\u003d-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg\u003d\u003d\u0026rs\u003dAOn4CLBQapITGYgT2r4b6Qxl65xnOeOiQA\",\"width\":246,\"height\":138},{\"url\":\"https://i.ytimg.com/vi/rwcfPqbAx-0/hqdefault.jpg?sqp\u003d-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg\u003d\u003d\u0026rs\u003dAOn4CLD6sdlWOr7PpvRRlZjLQ5vW_lsKIg\",\"width\":336,\"height\":188}]},\"allowRatings\":true,\"viewCount\":\"236802\",\"author\":\"DAN TV\",\"isPrivate\":false,\"isUnpluggedCorpus\":false,\"isLiveContent\":false},\"microformat\":{\"playerMicroformatRenderer\":{\"thumbnail\":{\"thumbnails\":[{\"url\":\"https://i.ytimg.com/vi/rwcfPqbAx-0/hqdefault.jpg\",\"width\":480,\"height\":360}]},\"embed\":{\"iframeUrl\":\"https://www.youtube.com/embed/rwcfPqbAx-0\",\"width\":480,\"height\":360},\"title\":{\"simpleText\":\"Russian Daft Punk\"},\"lengthSeconds\":\"11\",\"ownerProfileUrl\":\"http://www.youtube.com/@dantv6136\",\"externalChannelId\":\"UCcQHIVL83g5BEQe2IJFb-6w\",\"isFamilySafe\":false,\"isUnlisted\":false,\"hasYpcMetadata\":false,\"viewCount\":\"236802\",\"category\":\"People \u0026 Blogs\",\"publishDate\":\"2018-03-11\",\"ownerChannelName\":\"DAN TV\",\"uploadDate\":\"2018-03-11\"}},\"trackingParams\":\"CAAQu2kiEwjzrq7n96KAAxXqwkkHHYgTBEY\u003d\",\"frameworkUpdates\":{\"entityBatchUpdate\":{\"mutations\":[{\"entityKey\":\"Eg0KC3J3Y2ZQcWJBeC0wIPYBKAE%3D\",\"type\":\"ENTITY_MUTATION_TYPE_REPLACE\",\"payload\":{\"offlineabilityEntity\":{\"key\":\"Eg0KC3J3Y2ZQcWJBeC0wIPYBKAE%3D\",\"addToOfflineButtonState\":\"ADD_TO_OFFLINE_BUTTON_STATE_UNKNOWN\"}}}],\"timestamp\":{\"seconds\":\"1690050252\",\"nanos\":27178846}}}}",
"latestUrl": "https://www.youtube.com/youtubei/v1/player?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8\u0026prettyPrint\u003dfalse"
}
}