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

237 lines
16 KiB
JSON
Raw Normal View History

{
"request": {
2021-06-02 19:51:50 +02:00
"httpMethod": "POST",
"url": "https://www.youtube.com/youtubei/v1/player?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8",
"headers": {
"Accept-Language": [
"en-GB, en;q\u003d0.9"
2021-06-02 19:51:50 +02:00
],
"Origin": [
"https://www.youtube.com"
],
"X-YouTube-Client-Name": [
"1"
],
"Referer": [
"https://www.youtube.com"
],
"X-YouTube-Client-Version": [
"2.20210728.00.00"
2021-06-26 20:05:43 +02:00
],
"Content-Type": [
"application/json"
]
},
2021-06-02 19:51:50 +02:00
"dataToSend": [
123,
34,
99,
111,
110,
116,
101,
120,
116,
34,
58,
123,
34,
99,
108,
105,
101,
110,
116,
34,
58,
123,
34,
104,
108,
34,
58,
34,
101,
110,
45,
71,
66,
34,
44,
34,
2021-06-26 20:05:43 +02:00
103,
108,
34,
58,
34,
71,
66,
34,
44,
34,
2021-06-02 19:51:50 +02:00
99,
108,
105,
101,
110,
116,
78,
97,
109,
101,
34,
58,
34,
87,
69,
66,
34,
44,
34,
99,
108,
105,
101,
110,
116,
86,
101,
114,
115,
105,
111,
110,
34,
58,
34,
50,
46,
50,
48,
50,
49,
48,
2021-07-05 19:25:53 +02:00
55,
50,
56,
2021-06-02 19:51:50 +02:00
46,
48,
2021-06-26 20:05:43 +02:00
48,
2021-06-02 19:51:50 +02:00
46,
48,
48,
34,
125,
2021-06-26 20:05:43 +02:00
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,
2021-06-02 19:51:50 +02:00
125,
44,
34,
118,
105,
100,
101,
111,
73,
100,
34,
58,
34,
114,
119,
99,
102,
80,
2021-06-02 19:51:50 +02:00
113,
98,
2021-06-02 19:51:50 +02:00
65,
120,
45,
48,
2021-06-02 19:51:50 +02:00
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": [
2021-06-02 19:51:50 +02:00
"private"
],
"content-type": [
2021-06-02 19:51:50 +02:00
"application/json; charset\u003dUTF-8"
],
"date": [
2021-12-27 17:08:14 +01:00
"Mon, 27 Dec 2021 16:06:33 GMT"
],
"expires": [
2021-12-27 17:08:14 +01:00
"Mon, 27 Dec 2021 16:06:33 GMT"
],
"p3p": [
2021-06-02 19:51:50 +02:00
"CP\u003d\"This is not a P3P policy! See g.co/p3phelp for more info.\""
],
"server": [
"ESF"
],
"set-cookie": [
2021-12-27 17:08:14 +01:00
"CONSENT\u003dPENDING+025; expires\u003dWed, 27-Dec-2023 16:06:33 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
],
2021-06-02 19:51:50 +02:00
"vary": [
"Origin",
"X-Origin",
"Referer"
],
"x-content-type-options": [
"nosniff"
],
2021-06-02 19:51:50 +02:00
"x-frame-options": [
"SAMEORIGIN"
],
"x-xss-protection": [
"0"
]
},
2021-12-27 17:08:14 +01:00
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgtieTl0SUI5anV5SSiJyaeOBg%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\": \"24111165,24084439,24150975,24028143,24082662,24123645,24143428,24036947,24117475,24003542,24002025,24120820,24134152,24064556,24115641,24110902,24145516,24148483,24077266,24138442,23983296,23944779,23966208,24116717,24140247,23968386,24144944,23946420,24001373,24027710,24135236,24034168,24004644,24056146,24146886,23804281,23882502,24142470,23884386,24007246,23986025,39321475,23918597,24077241,24144449,24085811,24106839,24111550,24116735,24143789,1714241,24129402,23998056,24142941,23934970,23744176,24007790,24130475,24109690,24002022,24131028,24080738,24058380,24104858\"\n }\n ]\n },\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"2.20210728.00.00\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetPlayer_rid\",\n \"value\": \"0xa8a95c8e4f9f1f81\"\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\": \"2.20211103\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"client.fexp\",\n \"value\": \"24111165,24084439,24150975,24028143,24082662,24123645,24143428,24036947,24117475,24003542,24002025,24120820,24134152,24064556,24115641,24110902,24145516,24148483,24077266,24138442,23983296,23944779,23966208,24116717,24140247,23968386,24144944,23946420,24001373,24027710,24135236,24034168,24004644,24056146,24146886,23804281,23882502,24142470,23884386,24007246,23986025,39321475,23918597,24077241,24144449,24085811,24106839,24111550,24116735,24143789,1714241,24129402,23998056,24142941,23934970,23744176,24007790,24130475,24109690,24002022,24131028,24080738,24058380,24104858\"\n }\n ]\n }\n ],\n \"mainAppWebResponseContext\": {\n \"loggedOut\": true\n },\n \"webResponseContextExtensionData\": {\n \"hasDecorated\": true\n }\n },\n \"trackingParams\": \"CAAQu2kiEwiH98mbroT1AhX61BEIHSGiC48\u003d\",\n \"playabilityStatus\": {\n \"status\": \"LOGIN_REQUIRED\",\n \"reason\": \"Sign in to confirm your age\",\n \"errorScreen\": {\n \"playerErrorMessageRenderer\": {\n \"subreason\": {\n \"runs\": [\n {\n \"text\": \"This video may be inappropriate for some users.\"\n }\n ]\n },\n \"reason\": {\n \"simpleText\": \"Sign in to confirm your age\"\n },\n \"proceedButton\": {\n \"buttonRenderer\": {\n \"style\": \"STYLE_OVERLAY\",\n \"size\": \"SIZE_DEFAULT\",\n \"isDisabled\": false,\n \"text\": {\n \"simpleText\": \"Sign in\"\n },\n \"navigationEndpoint\": {\n \"clickTrackingParams\": \"CAQQ8FsiEwiH98mbroT1AhX61BEIHSGiC48\u003d\",\n \"commandMetadata\": {\n \"webCommandMetadata\": {\n \"url\": \"https://accounts.google.com/ServiceLogin?service\u003dyoutube\u0026uilel\u003d3\u0026passive\u003dtrue\u0026continue\u003dhttps%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin
2021-06-02 19:51:50 +02:00
"latestUrl": "https://www.youtube.com/youtubei/v1/player?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"
}
}