NewPipeExtractor/extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/stream/unboxing/generated_mock_2.json

200 lines
611 KiB
JSON
Raw Normal View History

2021-06-02 19:51:50 +02:00
{
"request": {
"httpMethod": "POST",
"url": "https://www.youtube.com/youtubei/v1/next?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8",
"headers": {
"Accept-Language": [
"en-GB, en;q\u003d0.9"
],
"Origin": [
"https://www.youtube.com"
],
"X-YouTube-Client-Name": [
"1"
],
"Referer": [
"https://www.youtube.com"
],
"X-YouTube-Client-Version": [
2021-06-05 19:25:44 +02:00
"2.20210603.07.00"
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,
99,
108,
105,
101,
110,
116,
78,
97,
109,
101,
34,
58,
34,
87,
69,
66,
34,
44,
34,
103,
108,
34,
58,
34,
71,
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,
54,
48,
2021-06-05 19:25:44 +02:00
51,
2021-06-02 19:51:50 +02:00
46,
48,
55,
46,
48,
48,
34,
125,
125,
44,
34,
118,
105,
100,
101,
111,
73,
100,
34,
58,
34,
99,
86,
53,
84,
106,
90,
67,
74,
107,
117,
65,
34,
125
],
"localization": {
"languageCode": "en",
"countryCode": "GB"
}
},
"response": {
"responseCode": 200,
"responseMessage": "",
"responseHeaders": {
"alt-svc": [
"h3-29\u003d\":443\"; ma\u003d2592000,h3-T051\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": [
2021-06-05 19:25:44 +02:00
"Sat, 05 Jun 2021 16:26:20 GMT"
2021-06-02 19:51:50 +02:00
],
"expires": [
2021-06-05 19:25:44 +02:00
"Sat, 05 Jun 2021 16:26:20 GMT"
2021-06-02 19:51:50 +02:00
],
"p3p": [
"CP\u003d\"This is not a P3P policy! See g.co/p3phelp for more info.\""
],
"server": [
"ESF"
],
"set-cookie": [
2021-06-05 19:25:44 +02:00
"CONSENT\u003dPENDING+818; expires\u003dFri, 01-Jan-2038 00:00:00 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"
],
"x-frame-options": [
"SAMEORIGIN"
],
"x-xss-protection": [
"0"
]
},
2021-06-05 19:25:44 +02:00
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgtHdVlYb09xc0lVdyisy-6FBg%3D%3D\",\n \"serviceTrackingParams\": [\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"2.20210603.07.00\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetWatchNext_rid\",\n \"value\": \"0x41a66ed33e64404a\"\n }\n ]\n },\n {\n \"service\": \"GFEEDBACK\",\n \"params\": [\n {\n \"key\": \"logged_in\",\n \"value\": \"0\"\n },\n {\n \"key\": \"e\",\n \"value\": \"23857950,24026153,24047688,24042870,24037794,24027649,23934970,24005646,23998056,24050106,23983296,23918597,23748147,24044575,23885487,23882502,23884386,23986016,24030040,24004644,24049791,24001373,23946420,23804281,23891346,24037806,24007246,23966208,24050516,23968099,24042868,24036085,23891344,24023961,23970529,24010465,24036947,24022466,24049894,23944779,24051457,23744176,23990877,23974595,23890959,23877023,24012558,24005802,24053551,23996830,1714256,24027133,24011649,23968386,24043529\"\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.20210603\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"WEB\"\n }\n ]\n }\n ],\n \"mainAppWebResponseContext\": {\n \"loggedOut\": true\n },\n \"webResponseContextExtensionData\": {\n \"webPrefetchData\": {\n \"navigationEndpoints\": [\n {\n \"clickTrackingParams\": \"CAAQg2ciEwiE6-2l9IDxAhWMKvEFHaLCAJoyDHJlbGF0ZWQtYXV0b0jgpaaE2fGUr3GaAQUIAxD4HQ\u003d\u003d\",\n \"commandMetadata\": {\n \"webCommandMetadata\": {\n \"url\": \"/watch?v\u003dq3eFXeO62oo\u0026pp\u003dQAFIAQ%3D%3D\",\n \"webPageType\": \"WEB_PAGE_TYPE_WATCH\",\n \"rootVe\": 3832\n }\n },\n \"watchEndpoint\": {\n \"videoId\": \"q3eFXeO62oo\",\n \"params\": \"EAEYAdoBAggB\",\n \"playerParams\": \"QAFIAQ%3D%3D\",\n \"watchEndpointSupportedPrefetchConfig\": {\n \"prefetchHintConfig\": {\n \"prefetchPriority\": 0,\n \"countdownUiRelativeSecondsPrefetchCondition\": -3\n }\n }\n }\n },\n {\n \"clickTrackingParams\": \"CAAQg2ciEwiE6-2l9IDxAhWMKvEFHaLCAJoyDHJlbGF0ZWQtYXV0b0jgpaaE2fGUr3GaAQUIAxD4HQ\u003d\u003d\",\n \"commandMetadata\": {\n \"webCommandMetadata\": {\n \"url\": \"/watch?v\u003dq3eFXeO62oo\u0026pp\u003dQAFIAQ%3D%3D\",\n \"webPageType\": \"WEB_PAGE_TYPE_WATCH\",\n \"rootVe\": 3832\n }\n },\n \"watchEndpoint\": {\n \"videoId\": \"q3eFXeO62oo\",\n \"params\": \"EAEYAdoBAggB\",\n \"playerParams\": \"QAFIAQ%3D%3D\",\n \"watchEndpointSupportedPrefetchConfig\": {\n \"prefetchHintConfig\": {\n \"prefetchPriority\": 0,\n \"countdownUiRelativeSecondsPrefetchCondition\": -3\n }\n }\n }\n },\n {\n \"clickTrackingParams\": \"CAAQg2ciEwiE6-2l9IDxAhWMKvEFHaLCAJoyDHJlbGF0ZWQtYXV0b0jgpaaE2fGUr3GaAQUIAxD4HQ\u003d\u003d\",\n \"commandMetadata\": {\n \"webCommandMetadata\": {\n \"url\": \"/watch?
2021-06-02 19:51:50 +02:00
"latestUrl": "https://www.youtube.com/youtubei/v1/next?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"
}
}