Skip to content

Commit c9b9356

Browse files
committed
[YouTube] Update mocks
1 parent 9520317 commit c9b9356

File tree

277 files changed

+6872
-7516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+6872
-7516
lines changed

extractor/src/test/resources/org/schabi/newpipe/extractor/kiosk/generated_mock_0.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,14 @@
3737
"content-type": [
3838
"text/javascript; charset\u003dutf-8"
3939
],
40-
"critical-ch": [
41-
"Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version"
42-
],
4340
"cross-origin-opener-policy-report-only": [
4441
"same-origin; report-to\u003d\"youtube_main\""
4542
],
4643
"date": [
47-
"Fri, 12 Aug 2022 17:15:42 GMT"
44+
"Wed, 24 Aug 2022 11:09:11 GMT"
4845
],
4946
"expires": [
50-
"Fri, 12 Aug 2022 17:15:42 GMT"
47+
"Wed, 24 Aug 2022 11:09:11 GMT"
5148
],
5249
"p3p": [
5350
"CP\u003d\"This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl\u003den-GB for more info.\""
@@ -62,9 +59,9 @@
6259
"ESF"
6360
],
6461
"set-cookie": [
65-
"YSC\u003dzvoZRVLWdUQ; Domain\u003d.youtube.com; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
66-
"VISITOR_INFO1_LIVE\u003d; Domain\u003d.youtube.com; Expires\u003dSat, 16-Nov-2019 17:15:42 GMT; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
67-
"CONSENT\u003dPENDING+621; expires\u003dSun, 11-Aug-2024 17:15:42 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
62+
"YSC\u003dMVVuVJ0UQOs; Domain\u003d.youtube.com; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
63+
"VISITOR_INFO1_LIVE\u003d; Domain\u003d.youtube.com; Expires\u003dThu, 28-Nov-2019 11:09:11 GMT; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
64+
"CONSENT\u003dPENDING+616; expires\u003dFri, 23-Aug-2024 11:09:11 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
6865
],
6966
"strict-transport-security": [
7067
"max-age\u003d31536000"

extractor/src/test/resources/org/schabi/newpipe/extractor/kiosk/generated_mock_1.json

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/org/schabi/newpipe/extractor/kiosk/generated_mock_2.json

Lines changed: 11 additions & 17 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/channel/VSauce/generated_mock_0.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,14 @@
3737
"content-type": [
3838
"text/javascript; charset\u003dutf-8"
3939
],
40-
"critical-ch": [
41-
"Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version"
42-
],
4340
"cross-origin-opener-policy-report-only": [
4441
"same-origin; report-to\u003d\"youtube_main\""
4542
],
4643
"date": [
47-
"Fri, 12 Aug 2022 17:16:25 GMT"
44+
"Wed, 24 Aug 2022 11:08:24 GMT"
4845
],
4946
"expires": [
50-
"Fri, 12 Aug 2022 17:16:25 GMT"
47+
"Wed, 24 Aug 2022 11:08:24 GMT"
5148
],
5249
"p3p": [
5350
"CP\u003d\"This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl\u003den-GB for more info.\""
@@ -62,9 +59,9 @@
6259
"ESF"
6360
],
6461
"set-cookie": [
65-
"YSC\u003dH65DWcDwcL0; Domain\u003d.youtube.com; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
66-
"VISITOR_INFO1_LIVE\u003d; Domain\u003d.youtube.com; Expires\u003dSat, 16-Nov-2019 17:16:25 GMT; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
67-
"CONSENT\u003dPENDING+212; expires\u003dSun, 11-Aug-2024 17:16:25 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
62+
"YSC\u003d1wHewlPnLIQ; Domain\u003d.youtube.com; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
63+
"VISITOR_INFO1_LIVE\u003d; Domain\u003d.youtube.com; Expires\u003dThu, 28-Nov-2019 11:08:24 GMT; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
64+
"CONSENT\u003dPENDING+265; expires\u003dFri, 23-Aug-2024 11:08:24 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
6865
],
6966
"strict-transport-security": [
7067
"max-age\u003d31536000"

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/channel/VSauce/generated_mock_1.json

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/channel/VSauce/generated_mock_2.json

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@
66
"Origin": [
77
"https://www.youtube.com"
88
],
9-
"X-YouTube-Client-Name": [
10-
"1"
9+
"Cookie": [
10+
"CONSENT\u003dPENDING+488"
1111
],
1212
"Referer": [
1313
"https://www.youtube.com"
1414
],
1515
"X-YouTube-Client-Version": [
16-
"2.20220809.02.00"
16+
"2.20220823.00.00"
17+
],
18+
"X-YouTube-Client-Name": [
19+
"1"
1720
],
1821
"Content-Type": [
1922
"application/json"
@@ -207,11 +210,11 @@
207210
50,
208211
48,
209212
56,
210-
48,
211-
57,
213+
50,
214+
51,
212215
46,
213216
48,
214-
50,
217+
48,
215218
46,
216219
48,
217220
48,
@@ -338,20 +341,11 @@
338341
"application/json; charset\u003dUTF-8"
339342
],
340343
"date": [
341-
"Fri, 12 Aug 2022 17:16:25 GMT"
342-
],
343-
"expires": [
344-
"Fri, 12 Aug 2022 17:16:25 GMT"
345-
],
346-
"p3p": [
347-
"CP\u003d\"This is not a P3P policy! See g.co/p3phelp for more info.\""
344+
"Wed, 24 Aug 2022 11:08:24 GMT"
348345
],
349346
"server": [
350347
"scaffolding on HTTPServer2"
351348
],
352-
"set-cookie": [
353-
"CONSENT\u003dPENDING+061; expires\u003dSun, 11-Aug-2024 17:16:25 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
354-
],
355349
"vary": [
356350
"Origin",
357351
"X-Origin",
@@ -367,7 +361,7 @@
367361
"0"
368362
]
369363
},
370-
"responseBody": "{\"responseContext\":{\"visitorData\":\"Cgs0d1FhenR6RXVOayjpldqXBg%3D%3D\",\"serviceTrackingParams\":[{\"service\":\"CSI\",\"params\":[{\"key\":\"c\",\"value\":\"WEB\"},{\"key\":\"cver\",\"value\":\"2.20220809.02.00\"},{\"key\":\"yt_li\",\"value\":\"0\"},{\"key\":\"ResolveUrl_rid\",\"value\":\"0xc781391fa55a10e4\"}]},{\"service\":\"GFEEDBACK\",\"params\":[{\"key\":\"logged_in\",\"value\":\"0\"},{\"key\":\"e\",\"value\":\"24139339,24209350,23940248,24187377,1714242,24002025,24164186,24216166,24199724,24199710,24135943,24226335,24220088,24085811,24077241,23998056,24245746,24253963,24235348,24036948,24007246,24225483,39321934,24246427,24222379,24004644,24244808,24241090,24114244,24219713,24166867,24080738,24135310,24238983,24245799,23918597,24260692,23744176,24241936,24199774,24254429,24219033,23983296,24186125,24230625,24140247,24169501,24248231,24227844,24198739,24239147,24077266,24181174,24252017,24034168,23986031,23966208,23885487,24223124,24250883,24211177,23946420,23804281,24214092,24241165,24248385,24161116,24246938,24191629,24001373,24152442,24215196,24187043,24145390,24037231,24229161,24002022,24185614,23882503,24120819,24227532,23934970\"}]},{\"service\":\"GUIDED_HELP\",\"params\":[{\"key\":\"logged_in\",\"value\":\"0\"}]},{\"service\":\"ECATCHER\",\"params\":[{\"key\":\"client.version\",\"value\":\"2.20220805\"},{\"key\":\"client.name\",\"value\":\"WEB\"},{\"key\":\"client.fexp\",\"value\":\"24139339,24209350,23940248,24187377,1714242,24002025,24164186,24216166,24199724,24199710,24135943,24226335,24220088,24085811,24077241,23998056,24245746,24253963,24235348,24036948,24007246,24225483,39321934,24246427,24222379,24004644,24244808,24241090,24114244,24219713,24166867,24080738,24135310,24238983,24245799,23918597,24260692,23744176,24241936,24199774,24254429,24219033,23983296,24186125,24230625,24140247,24169501,24248231,24227844,24198739,24239147,24077266,24181174,24252017,24034168,23986031,23966208,23885487,24223124,24250883,24211177,23946420,23804281,24214092,24241165,24248385,24161116,24246938,24191629,24001373,24152442,24215196,24187043,24145390,24037231,24229161,24002022,24185614,23882503,24120819,24227532,23934970\"}]}],\"mainAppWebResponseContext\":{\"loggedOut\":true},\"webResponseContextExtensionData\":{\"hasDecorated\":true}},\"endpoint\":{\"clickTrackingParams\":\"IhMI5ZeWiefB-QIVGF6yCh0ZxgVhMghleHRlcm5hbA\u003d\u003d\",\"commandMetadata\":{\"webCommandMetadata\":{\"url\":\"/youtubei/v1/navigation/resolve_url\",\"webPageType\":\"WEB_PAGE_TYPE_CHANNEL\",\"rootVe\":3611,\"apiUrl\":\"/youtubei/v1/browse\"},\"resolveUrlCommandMetadata\":{\"isVanityUrl\":true}},\"browseEndpoint\":{\"browseId\":\"UC6nSFpj9HTCZ5t-N3Rm3-HA\",\"params\":\"EgC4AQDyBgQKAjIA\"}}}",
364+
"responseBody": "{\"responseContext\":{\"visitorData\":\"CgtqMGpTdDZoODRlOCiojZiYBg%3D%3D\",\"serviceTrackingParams\":[{\"service\":\"CSI\",\"params\":[{\"key\":\"c\",\"value\":\"WEB\"},{\"key\":\"cver\",\"value\":\"2.20220823.00.00\"},{\"key\":\"yt_li\",\"value\":\"0\"},{\"key\":\"ResolveUrl_rid\",\"value\":\"0xb82ee3ed79525381\"}]},{\"service\":\"GFEEDBACK\",\"params\":[{\"key\":\"logged_in\",\"value\":\"0\"},{\"key\":\"e\",\"value\":\"23744176,24169501,23934970,39321934,24002022,39322278,24269952,24260783,24114244,9407156,24264860,24255165,24229161,24227844,24181174,24166867,24241709,24002025,1714259,24203036,24248385,24226335,24188737,24199774,24004644,24260844,23998056,24007246,24244771,24120819,24252669,24235237,23918597,24017848,24036948,24269588,24225483,23776272,24164186,24271088,24185614,24219713,24037231,24215196,24080738,24187043,24263054,24267563,24199724,24265333,23966208,24260441,24135692,24187377,24238595,24218924,24161116,24246427,24034168,24077266,24094856,23983296,24216097,24140247,24267988,24191629,23946420,24001373,24211178,23804281,23882502,24152442,24077241,24135310\"}]},{\"service\":\"GUIDED_HELP\",\"params\":[{\"key\":\"logged_in\",\"value\":\"0\"}]},{\"service\":\"ECATCHER\",\"params\":[{\"key\":\"client.version\",\"value\":\"2.20220823\"},{\"key\":\"client.name\",\"value\":\"WEB\"},{\"key\":\"client.fexp\",\"value\":\"23744176,24169501,23934970,39321934,24002022,39322278,24269952,24260783,24114244,9407156,24264860,24255165,24229161,24227844,24181174,24166867,24241709,24002025,1714259,24203036,24248385,24226335,24188737,24199774,24004644,24260844,23998056,24007246,24244771,24120819,24252669,24235237,23918597,24017848,24036948,24269588,24225483,23776272,24164186,24271088,24185614,24219713,24037231,24215196,24080738,24187043,24263054,24267563,24199724,24265333,23966208,24260441,24135692,24187377,24238595,24218924,24161116,24246427,24034168,24077266,24094856,23983296,24216097,24140247,24267988,24191629,23946420,24001373,24211178,23804281,23882502,24152442,24077241,24135310\"}]}],\"mainAppWebResponseContext\":{\"loggedOut\":true},\"webResponseContextExtensionData\":{\"hasDecorated\":true}},\"endpoint\":{\"clickTrackingParams\":\"IhMIxObvmKvf-QIVB3PgCh0FAw_3MghleHRlcm5hbA\u003d\u003d\",\"commandMetadata\":{\"webCommandMetadata\":{\"url\":\"/youtubei/v1/navigation/resolve_url\",\"webPageType\":\"WEB_PAGE_TYPE_CHANNEL\",\"rootVe\":3611,\"apiUrl\":\"/youtubei/v1/browse\"},\"resolveUrlCommandMetadata\":{\"isVanityUrl\":true}},\"browseEndpoint\":{\"browseId\":\"UC6nSFpj9HTCZ5t-N3Rm3-HA\",\"params\":\"EgC4AQDyBgQKAjIA\"}}}",
371365
"latestUrl": "https://www.youtube.com/youtubei/v1/navigation/resolve_url?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8\u0026prettyPrint\u003dfalse"
372366
}
373367
}

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/channel/VSauce/generated_mock_3.json

Lines changed: 11 additions & 17 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/channel/VSauce/generated_mock_4.json

Lines changed: 59 additions & 50 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/channel/captainDisillusion/generated_mock_0.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,14 @@
3737
"content-type": [
3838
"text/javascript; charset\u003dutf-8"
3939
],
40-
"critical-ch": [
41-
"Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version"
42-
],
4340
"cross-origin-opener-policy-report-only": [
4441
"same-origin; report-to\u003d\"youtube_main\""
4542
],
4643
"date": [
47-
"Fri, 12 Aug 2022 17:16:27 GMT"
44+
"Wed, 24 Aug 2022 11:08:18 GMT"
4845
],
4946
"expires": [
50-
"Fri, 12 Aug 2022 17:16:27 GMT"
47+
"Wed, 24 Aug 2022 11:08:18 GMT"
5148
],
5249
"p3p": [
5350
"CP\u003d\"This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl\u003den-GB for more info.\""
@@ -62,9 +59,9 @@
6259
"ESF"
6360
],
6461
"set-cookie": [
65-
"YSC\u003d7u3J56jphtY; Domain\u003d.youtube.com; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
66-
"VISITOR_INFO1_LIVE\u003d; Domain\u003d.youtube.com; Expires\u003dSat, 16-Nov-2019 17:16:27 GMT; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
67-
"CONSENT\u003dPENDING+395; expires\u003dSun, 11-Aug-2024 17:16:27 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
62+
"YSC\u003dWM5ZQoC5MT4; Domain\u003d.youtube.com; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
63+
"VISITOR_INFO1_LIVE\u003d; Domain\u003d.youtube.com; Expires\u003dThu, 28-Nov-2019 11:08:18 GMT; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
64+
"CONSENT\u003dPENDING+980; expires\u003dFri, 23-Aug-2024 11:08:18 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
6865
],
6966
"strict-transport-security": [
7067
"max-age\u003d31536000"

extractor/src/test/resources/org/schabi/newpipe/extractor/services/youtube/extractor/channel/captainDisillusion/generated_mock_1.json

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)