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

322 lines
11 KiB
JSON

{
"request": {
"httpMethod": "POST",
"url": "https://youtubei.googleapis.com/youtubei/v1/player?key\u003dAIzaSyA8eiZmM1FaDVjRy-df2KTyQ_vz_yYM39w",
"headers": {
"Accept-Language": [
"en-GB, en;q\u003d0.9"
],
"User-Agent": [
"com.google.android.youtube/16.29.38Linux; U; Android 11; GB) gzip"
],
"x-goog-api-format-version": [
"2"
],
"Content-Type": [
"application/json"
]
},
"dataToSend": [
123,
34,
99,
111,
110,
116,
101,
120,
116,
34,
58,
123,
34,
116,
104,
105,
114,
100,
80,
97,
114,
116,
121,
34,
58,
123,
34,
101,
109,
98,
101,
100,
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,
47,
119,
97,
116,
99,
104,
63,
118,
61,
114,
119,
99,
102,
80,
113,
98,
65,
120,
45,
48,
34,
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,
99,
108,
105,
101,
110,
116,
78,
97,
109,
101,
34,
58,
34,
65,
78,
68,
82,
79,
73,
68,
34,
44,
34,
103,
108,
34,
58,
34,
71,
66,
34,
44,
34,
99,
108,
105,
101,
110,
116,
83,
99,
114,
101,
101,
110,
34,
58,
34,
69,
77,
66,
69,
68,
34,
44,
34,
99,
108,
105,
101,
110,
116,
86,
101,
114,
115,
105,
111,
110,
34,
58,
34,
49,
54,
46,
50,
57,
46,
51,
56,
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,
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,h3-Q050\u003d\":443\"; ma\u003d2592000,h3-Q046\u003d\":443\"; ma\u003d2592000,h3-Q043\u003d\":443\"; ma\u003d2592000,quic\u003d\":443\"; ma\u003d2592000; v\u003d\"46,43\""
],
"cache-control": [
"private"
],
"content-type": [
"application/json; charset\u003dUTF-8"
],
"date": [
"Mon, 27 Dec 2021 16:06:35 GMT"
],
"expires": [
"Mon, 27 Dec 2021 16:06:35 GMT"
],
"p3p": [
"CP\u003d\"This is not a P3P policy! See g.co/p3phelp for more info.\""
],
"server": [
"ESF"
],
"set-cookie": [
"CONSENT\u003dPENDING+000; expires\u003dWed, 27-Dec-2023 16:06:35 GMT; path\u003d/; domain\u003d.googleapis.com; Secure"
],
"vary": [
"Origin",
"X-Origin",
"Referer"
],
"x-content-type-options": [
"nosniff"
],
"x-frame-options": [
"SAMEORIGIN"
],
"x-xss-protection": [
"0"
]
},
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgtDeF9haHNOWDdxTSiLyaeOBg%3D%3D\",\n \"serviceTrackingParams\": [\n {\n \"service\": \"GFEEDBACK\",\n \"params\": [\n {\n \"key\": \"is_viewed_live\",\n \"value\": \"False\"\n },\n {\n \"key\": \"logged_in\",\n \"value\": \"0\"\n },\n {\n \"key\": \"e\",\n \"value\": \"23882502,24082661,24139350,23934970,24034168,24106839,24110902,24136748,24060091,24141868,24082169,24143789,24116717,24134152,24109690,24104858,24001373,24059785,24085811,24087479,24028143,24077266,24054937,24145061,24131026,1714247,24129193,24142961,24143428,24123943,23968386,24141079,24091243,24078457,24140247,24138442,23884386,23966208,24007790,24135236,24142470,23983296,9405995,24115641,23918597,24080738,24002923,23998056,24036947,24078649,24077241,24063124,24074379,24142941,24007246,24120820,24021124,24004644,23946420,24058380,23944779,23744176,24054345,24131400,24091230,24128155,24117476,39321475,24116735\"\n }\n ]\n },\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"ANDROID\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"16.29.38\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetPlayer_rid\",\n \"value\": \"0x35cc58104d76780c\"\n }\n ]\n },\n {\n \"service\": \"GUIDED_HELP\",\n \"params\": [\n {\n \"key\": \"logged_in\",\n \"value\": \"0\"\n }\n ]\n },\n {\n \"service\": \"ECATCHER\",\n \"params\": [\n {\n \"key\": \"client.version\",\n \"value\": \"16.29\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"ANDROID\"\n },\n {\n \"key\": \"client.fexp\",\n \"value\": \"23882502,24082661,24139350,23934970,24034168,24106839,24110902,24136748,24060091,24141868,24082169,24143789,24116717,24134152,24109690,24104858,24001373,24059785,24085811,24087479,24028143,24077266,24054937,24145061,24131026,1714247,24129193,24142961,24143428,24123943,23968386,24141079,24091243,24078457,24140247,24138442,23884386,23966208,24007790,24135236,24142470,23983296,9405995,24115641,23918597,24080738,24002923,23998056,24036947,24078649,24077241,24063124,24074379,24142941,24007246,24120820,24021124,24004644,23946420,24058380,23944779,23744176,24054345,24131400,24091230,24128155,24117476,39321475,24116735\"\n }\n ]\n },\n {\n \"service\": \"LISTNR\",\n \"params\": [\n {\n \"key\": \"e\",\n \"value\": \"24140247,24142470,24037284,24054345,24036947,24109690,24058380,24082169,24024517,24033252,24104858,24116717,24116735,24110902,24106839,24134152,24030282,24139350,24115641,24142941,24085324,24143428,39321475,24074379,24109931,24141079,24117476\"\n }\n ]\n }\n ]\n },\n \"trackingParams\": \"CAAQu2kiEwiQir6croT1AhWRiHsKHYVOCZA\u003d\",\n \"playabilityStatus\": {\n \"status\": \"LOGIN_REQUIRED\",\n \"reason\": \"This video may be inappropriate for some users.\",\n \"errorScreen\": {\n \"confirmDialogRenderer\": {\n \"title\": {\n \"runs\": [\n {\n \"text\": \"You must sign in to view this video\"\n }\n ]\n },\n \"trackingParams\": \"CAIQxjgiEwiQir6croT1AhWRiHsKHYVOCZA\u003d\",\n \"dialogMessages\": [\n {\n \"runs\": [\n {\n \"text\": \"This video may be inappropriate for some users.\"\n }\n ]\n }\n ],\n \"confirmButton\": {\n \"buttonRenderer\": {\n \"style\": \"STYLE_BLUE_TEXT\",\n \"size\": \"SIZE_DEFAULT\",\n \"isDisabled\": false,\n \"text\": {\n \"runs\": [\n {\n \"text\": \"Sign in\"\n }\n ]\n },\n \"trackingParams\": \"CAQQ8FsiEwiQir6croT1AhWRiHsKHYVOCZA\u003d\"\n }\n },\n \"cancelButton\": {\n \"buttonRenderer\": {\n \"style\": \"STYLE_BLUE_TEXT\",\n \"size\": \"SIZE_DEFAULT\",\n \"isDisabled\": false,\n \"text\": {\n \"runs\": [\n {\n \"text\": \"Go back\"\n }\n ]\n },\n \"trackingParams\": \"CAMQ8FsiEwiQir6croT1AhWRiHsKHYVOCZA\u003d\"\n }\n }\n }\n },\n \"desktopLegacyAgeGateReason\": 1,\n \"reasonTitle\": \"You must sign in to view this video\",\n \"contextParams\": \"Q0FFU0FnZ0M\u003d\"\n },\n \"videoDetails\": {\n \"videoId\": \"rwcfPqbAx-0\",\n \"title\": \"Russian Daft Punk\",\n \"lengthSeconds\": \"10\",\n \"channelId\": \"UCcQHIVL83g5BEQe2IJFb-6w\",\n \"isOwnerViewing\": false,\n \"shortDescription\": \"\",\n \"isCrawlable\": true,\n \"thumbnail\": {\n \"thumbnails\": [\n {\n \"url\": \"https://i.ytimg.com/vi_webp/rwcfPqbAx-0/default.webp\",\n \"width\": 120,\n \"height\": 90\n },\n {\n \"url\": \"https://i.ytimg.com/vi_webp/rwcfPqbAx-0/mqdefault.webp\",\n \"width\": 320,\n \"height\": 180\n },\n {\n \"url\": \"https://i.ytimg.com/vi_webp/rwcfPqbAx-0/hqdefault.webp\",\n \"width\": 480,\n \"height\": 360\n },\n {\n \"url\": \"https://i.ytimg.com/vi_webp/rwcfPqbAx-0/sddefault.webp\",\n \"width\": 640,\n \"height\": 480\n }\n ]\n },\n \"allowRatings\": true,\n \"viewCount\": \"232621\",\n \"author\": \"DAN TV\",\n \"isPrivate\": false,\n \"isUnpluggedCorpus\": false,\n \"isLiveContent\": false\n },\n \"playerSettingsMenuData\": {\n \"loggingDirectives\": {\n \"trackingParams\": \"CAEQtc4GIhMIkIq-nK6E9QIVkYh7Ch2FTgmQ\",\n \"visibility\": {\n \"types\": \"12\"\n }\n }\n },\n \"frameworkUpdates\": {\n \"entityBatchUpdate\": {\n \"mutations\": [\n {\n \"entityKey\": \"Eg0KC3J3Y2ZQcWJBeC0wIPYBKAE%3D\",\n \"type\": \"ENTITY_MUTATION_TYPE_REPLACE\",\n \"payload\": {\n \"offlineabilityEntity\": {\n \"key\": \"Eg0KC3J3Y2ZQcWJBeC0wIPYBKAE%3D\",\n \"accessState\": \"OFFLINEABILITY_FEATURE_ACCESS_STATE_UNKNOWN\",\n \"addToOfflineButtonState\": \"ADD_TO_OFFLINE_BUTTON_STATE_UNKNOWN\"\n }\n }\n }\n ],\n \"timestamp\": {\n \"seconds\": \"1640621195\",\n \"nanos\": 392936126\n }\n }\n }\n}\n",
"latestUrl": "https://youtubei.googleapis.com/youtubei/v1/player?key\u003dAIzaSyA8eiZmM1FaDVjRy-df2KTyQ_vz_yYM39w"
}
}