Try again to don't fetch at each time the JavaScript player
This commit is contained in:
parent
70927ddade
commit
6921e80ded
|
@ -131,7 +131,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
try {
|
||||
title = getTextFromObject(getVideoPrimaryInfoRenderer().getObject("title"));
|
||||
} catch (final ParsingException ignored) {
|
||||
// age-restricted videos cause a ParsingException here
|
||||
// Age-restricted videos cause a ParsingException here
|
||||
}
|
||||
|
||||
if (isNullOrEmpty(title)) {
|
||||
|
@ -605,7 +605,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
@Nonnull
|
||||
public List<SubtitlesStream> getSubtitles(final MediaFormat format) throws ParsingException {
|
||||
assertPageFetched();
|
||||
// If the video is age restricted getSubtitles will fail
|
||||
// If the video is age-restricted getSubtitles will fail
|
||||
if (getAgeLimit() != NO_AGE_LIMIT) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
@ -846,7 +846,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
// download it again only if we didn't have a signatureTimestamp before fetching the
|
||||
// data of this video (the sts string).
|
||||
if (!stsKnown && isCipherProtectedContent()) {
|
||||
sts = getStsFromPlayerJs();
|
||||
getStsFromPlayerJs();
|
||||
final JsonObject playerResponseWithSignatureTimestamp = getJsonPostResponse(
|
||||
"player", createPlayerBodyWithSts(localization, contentCountry, videoId),
|
||||
localization);
|
||||
|
@ -860,7 +860,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
|
||||
private void fetchVideoInfoPage() throws ParsingException, ReCaptchaException, IOException {
|
||||
if (sts == null) {
|
||||
sts = getStsFromPlayerJs();
|
||||
getStsFromPlayerJs();
|
||||
}
|
||||
final String videoInfoUrl = getVideoInfoUrl(getId(), sts);
|
||||
final String infoPageResponse = NewPipe.getDownloader()
|
||||
|
@ -1024,26 +1024,20 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
@Nonnull
|
||||
private String getDeobfuscationCode() throws ParsingException {
|
||||
if (cachedDeobfuscationCode == null) {
|
||||
if (playerCode == null) {
|
||||
storePlayerJs();
|
||||
if (playerCode == null) {
|
||||
throw new ParsingException("Could not get YouTube's JavaScript player");
|
||||
}
|
||||
}
|
||||
if (isNullOrEmpty(playerCode)) throw new ParsingException("playerCode is null");
|
||||
|
||||
cachedDeobfuscationCode = loadDeobfuscationCode();
|
||||
}
|
||||
return cachedDeobfuscationCode;
|
||||
}
|
||||
|
||||
private String getStsFromPlayerJs() throws ParsingException {
|
||||
if (!isNullOrEmpty(sts)) return sts;
|
||||
private void getStsFromPlayerJs() throws ParsingException {
|
||||
if (!isNullOrEmpty(sts)) return;
|
||||
if (playerCode == null) {
|
||||
storePlayerJs();
|
||||
if (playerCode == null) throw new ParsingException("playerCode is null");
|
||||
}
|
||||
sts = Parser.matchGroup1(STS_REGEX, playerCode);
|
||||
return sts;
|
||||
}
|
||||
|
||||
private String deobfuscateSignature(final String obfuscatedSig) throws ParsingException {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -169,6 +169,7 @@
|
|||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"Wed, 23 Jun 2021 10:12:06 GMT"
|
||||
=======
|
||||
|
@ -194,9 +195,12 @@
|
|||
=======
|
||||
"Wed, 02 Jun 2021 17:18:37 GMT"
|
||||
>>>>>>> c1d526e7 (Update client version and mocks)
|
||||
=======
|
||||
"Wed, 02 Jun 2021 18:19:18 GMT"
|
||||
>>>>>>> 70fc468f (Try again to don't fetch at each time the JavaScript player)
|
||||
],
|
||||
"expires": [
|
||||
"Wed, 02 Jun 2021 17:18:37 GMT"
|
||||
"Wed, 02 Jun 2021 18:19:18 GMT"
|
||||
],
|
||||
"p3p": [
|
||||
"CP\u003d\"This is not a P3P policy! See g.co/p3phelp for more info.\""
|
||||
|
@ -209,6 +213,7 @@
|
|||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"YSC\u003d-LT8a9maoCU; Domain\u003d.youtube.com; Path\u003d/; Secure; HttpOnly; SameSite\u003dnone",
|
||||
"CONSENT\u003dPENDING+142; expires\u003dFri, 01-Jan-2038 00:00:00 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
|
||||
|
@ -241,6 +246,9 @@
|
|||
=======
|
||||
"CONSENT\u003dPENDING+791; expires\u003dFri, 01-Jan-2038 00:00:00 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
|
||||
>>>>>>> c1d526e7 (Update client version and mocks)
|
||||
=======
|
||||
"CONSENT\u003dPENDING+773; expires\u003dFri, 01-Jan-2038 00:00:00 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
|
||||
>>>>>>> 70fc468f (Try again to don't fetch at each time the JavaScript player)
|
||||
],
|
||||
"vary": [
|
||||
"Origin",
|
||||
|
@ -261,6 +269,7 @@
|
|||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"responseBody": "[\r\n{\"page\": \"watch\",\"rootVe\": \"3832\"},\r\n{\"page\": \"watch\",\"preconnect\": [\"https:\\/\\/r5---sn-hgn7yn7z.googlevideo.com\\/generate_204\",\"https:\\/\\/r5---sn-hgn7yn7z.googlevideo.com\\/generate_204?conn2\"]},\r\n{\"page\": \"watch\",\"playerResponse\": {\"responseContext\":{\"serviceTrackingParams\":[{\"service\":\"GFEEDBACK\",\"params\":[{\"key\":\"is_viewed_live\",\"value\":\"False\"},{\"key\":\"logged_in\",\"value\":\"0\"},{\"key\":\"e\",\"value\":\"24001373,23946420,23970529,24049577,24042868,23966208,23804281,24027649,23998056,24049575,24036947,24004644,24017848,23891344,24007246,24037794,24052246,23963745,23934970,23996830,24030040,23983296,23891346,23884386,24037806,24042870,24012513,24058813,23857948,24053867,24049569,23968386,24049820,1714249,23973490,24049567,23918597,24003105,24049573,23744176,23974595,24058380,24003103,23882685,23944779,24038425,23890959,23999405\"}]},{\"service\":\"CSI\",\"params\":[{\"key\":\"c\",\"value\":\"WEB\"},{\"key\":\"cver\",\"value\":\"2.20200214.04.00\"},{\"key\":\"yt_li\",\"value\":\"0\"},{\"key\":\"GetPlayer_rid\",\"value\":\"0x58da0be5a82f9e65\"}]},{\"service\":\"GUIDED_HELP\",\"params\":[{\"key\":\"logged_in\",\"value\":\"0\"}]},{\"service\":\"ECATCHER\",\"params\":[{\"key\":\"client.version\",\"value\":\"2.20210526\"},{\"key\":\"client.name\",\"value\":\"WEB\"}]}],\"mainAppWebResponseContext\":{\"loggedOut\":true},\"webResponseContextExtensionData\":{\"hasDecorated\":true}},\"playabilityStatus\":{\"status\":\"ERROR\",\"reason\":\"Video unavailable\",\"errorScreen\":{\"playerErrorMessageRenderer\":{\"reason\":{\"simpleText\":\"Video unavailable\"},\"thumbnail\":{\"thumbnails\":[{\"url\":\"//s.ytimg.com/yts/img/meh7-vflGevej7.png\",\"width\":140,\"height\":100}]},\"icon\":{\"iconType\":\"ERROR_OUTLINE\"}}},\"contextParams\":\"Q0FBU0FnZ0E\u003d\"},\"trackingParams\":\"CAAQu2kiEwiG75Ocwq3xAhU_NPEFHUM9A70\u003d\",\"frameworkUpdates\":{\"entityBatchUpdate\":{\"mutations\":[{\"entityKey\":\"Eg0KC0lOVkFMSURfSURfIPYBKAE%3D\",\"type\":\"ENTITY_MUTATION_TYPE_REPLACE\",\"payload\":{\"offlineabilityEntity\":{\"key\":\"Eg0KC0lOVkFMSURfSURfIPYBKAE%3D\",\"accessState\":\"OFFLINEABILITY_FEATURE_ACCESS_STATE_UNKNOWN\"}}}],\"timestamp\":{\"seconds\":\"1624443126\",\"nanos\":616071922}}}}},\r\n{\"page\": \"watch\",\"response\": {\"responseContext\":{\"webResponseContextExtensionData\":{\"ytConfigData\":{\"visitorData\":\"Cgs1SUlhQUVDenVSUSj2kcyGBg%3D%3D\",\"rootVisualElementType\":3832}}}},\"xsrf_token\": \"QUFFLUhqbkdDQldjVWFhaHN4ZUQzTjMtY01fU1FpVElFd3xBQ3Jtc0tseTZPT0J2ZzA2eDNuYXRMREtXaGN0RWJsUWJ5eW1vWDQ4aGg5TDJHTjZvX3lSM2tRamh2M3lDdDNXc3haZE00TUJveWNZa2JBbWdYX21URUI2dTM2MTlfX0pIcWU1RVNXRHpreExHeHNfaW5LQjdvQQ\\u003d\\u003d\",\"url\": \"/watch?v\\u003dINVALID_ID_\",\"endpoint\": {\"clickTrackingParams\":\"IhMIpImTnMKt8QIV9TvxBR0TrgLLMghleHRlcm5hbA\u003d\u003d\",\"commandMetadata\":{\"webCommandMetadata\":{\"url\":\"/watch?v\u003dINVALID_ID_\",\"webPageType\":\"WEB_PAGE_TYPE_WATCH\",\"rootVe\":3832}},\"watchEndpoint\":{\"videoId\":\"INVALID_ID_\"}}},\r\n{\"page\": \"watch\",\"timing\": {\"info\": {\"st\": 0.0 }}}]\r\n",
|
||||
=======
|
||||
|
@ -287,6 +296,9 @@
|
|||
>>>>>>> 43ce1dc4 (Update mocks)
|
||||
=======
|
||||
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgtZOUFzWlYyQzVKZyjt-t6FBg%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\": \"24005646,23858057,23918597,24037794,23970529,24051749,24005602,24042868,23966208,23968099,24043242,24044575,23804281,24044136,23934970,23996830,24030040,23983296,23857950,24037806,23884386,23891346,24042870,24027133,9405963,24040786,23940237,23968386,24027649,24024873,24005802,23890959,23882503,23986024,23744176,23974595,24022728,23944779,24010465,24024949,24035275,24050414,23891344,24036085,24007246,24001373,23748146,23946420,23993672,1714248,24049122,24030993,24004644\"\n }\n ]\n },\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"2.20210601.07.00\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetPlayer_rid\",\n \"value\": \"0x9563640b7d533d1b\"\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.20210601\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"WEB\"\n }\n ]\n }\n ],\n \"mainAppWebResponseContext\": {\n \"loggedOut\": true\n },\n \"webResponseContextExtensionData\": {\n \"hasDecorated\": true\n }\n },\n \"trackingParams\": \"CAAQu2kiEwjI07SxuvnwAhWEp9UKHTLgA0g\u003d\",\n \"playabilityStatus\": {\n \"status\": \"ERROR\",\n \"reason\": \"Video unavailable\",\n \"errorScreen\": {\n \"playerErrorMessageRenderer\": {\n \"reason\": {\n \"simpleText\": \"Video unavailable\"\n },\n \"thumbnail\": {\n \"thumbnails\": [\n {\n \"url\": \"//s.ytimg.com/yts/img/meh7-vflGevej7.png\",\n \"width\": 140,\n \"height\": 100\n }\n ]\n },\n \"icon\": {\n \"iconType\": \"ERROR_OUTLINE\"\n }\n }\n },\n \"contextParams\": \"Q0FBU0FnZ0E\u003d\"\n }\n}\n",
|
||||
=======
|
||||
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgtQaXp3Vl9la3RDMCiml9-FBg%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\": \"24037806,23891344,24005802,24036085,24040343,23983296,23986028,24010466,23890959,23974595,23996830,24051485,24030148,23934970,23744176,24047687,24026152,23918597,24005646,24035275,24004644,23882685,23940238,24032653,24001373,24027649,23968386,24050517,24040786,23748147,23944779,24027133,24007246,24044575,23999405,24042870,24042654,23884386,24030040,24044136,23804281,23946420,24037794,1714259,24024590,23970529,23966208,23968099,24042868,23857949,23891346\"\n }\n ]\n },\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"2.20210601.07.00\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetPlayer_rid\",\n \"value\": \"0x63da5aceeaf2a6ca\"\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.20210601\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"WEB\"\n }\n ]\n }\n ],\n \"mainAppWebResponseContext\": {\n \"loggedOut\": true\n },\n \"webResponseContextExtensionData\": {\n \"hasDecorated\": true\n }\n },\n \"trackingParams\": \"CAAQu2kiEwjK3rr5x_nwAhWcFPEFHXpbBms\u003d\",\n \"playabilityStatus\": {\n \"status\": \"ERROR\",\n \"reason\": \"Video unavailable\",\n \"errorScreen\": {\n \"playerErrorMessageRenderer\": {\n \"reason\": {\n \"simpleText\": \"Video unavailable\"\n },\n \"thumbnail\": {\n \"thumbnails\": [\n {\n \"url\": \"//s.ytimg.com/yts/img/meh7-vflGevej7.png\",\n \"width\": 140,\n \"height\": 100\n }\n ]\n },\n \"icon\": {\n \"iconType\": \"ERROR_OUTLINE\"\n }\n }\n },\n \"contextParams\": \"Q0FBU0FnZ0E\u003d\"\n }\n}\n",
|
||||
>>>>>>> 70fc468f (Try again to don't fetch at each time the JavaScript player)
|
||||
"latestUrl": "https://www.youtube.com/youtubei/v1/player?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"
|
||||
>>>>>>> c1d526e7 (Update client version and mocks)
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -41,7 +41,7 @@
|
|||
"bytes"
|
||||
],
|
||||
"age": [
|
||||
"127213"
|
||||
"130852"
|
||||
],
|
||||
"alt-svc": [
|
||||
"h3\u003d\":443\"; ma\u003d2592000,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\""
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -165,10 +165,10 @@
|
|||
"application/json; charset\u003dUTF-8"
|
||||
],
|
||||
"date": [
|
||||
"Wed, 02 Jun 2021 17:18:45 GMT"
|
||||
"Wed, 02 Jun 2021 18:19:24 GMT"
|
||||
],
|
||||
"expires": [
|
||||
"Wed, 02 Jun 2021 17:18:45 GMT"
|
||||
"Wed, 02 Jun 2021 18:19:24 GMT"
|
||||
],
|
||||
"p3p": [
|
||||
"CP\u003d\"This is not a P3P policy! See g.co/p3phelp for more info.\""
|
||||
|
@ -177,7 +177,7 @@
|
|||
"ESF"
|
||||
],
|
||||
"set-cookie": [
|
||||
"CONSENT\u003dPENDING+466; expires\u003dFri, 01-Jan-2038 00:00:00 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
|
||||
"CONSENT\u003dPENDING+587; expires\u003dFri, 01-Jan-2038 00:00:00 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
|
||||
],
|
||||
"vary": [
|
||||
"Origin",
|
||||
|
@ -194,7 +194,7 @@
|
|||
"0"
|
||||
]
|
||||
},
|
||||
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgthRG9hcmloWFptVSj1-t6FBg%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\": \"23884386,23968099,24048461,24042868,23966208,23882502,23804281,23996830,24045729,23891346,23975058,24037806,24032484,24030040,24005646,23918597,24042870,24007246,23987907,23946420,24037794,24040786,24044575,24050104,24049126,23939457,24050413,24027649,24032653,23944779,24010465,24045444,23983296,24005802,24044134,24003105,24034978,23948545,23968386,23970529,24027133,24026831,23971644,24043925,24043529,23940237,24035275,23857949,23986015,1714240,23890959,24045749,23990877,23744176,23974595,24030993,23934970,24036085,24043240,24004644,23891344,24001373\"\n }\n ]\n },\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"2.20210601.07.00\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetPlayer_rid\",\n \"value\": \"0x5c5d0472361c65ab\"\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.20210601\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"WEB\"\n }\n ]\n }\n ],\n \"mainAppWebResponseContext\": {\n \"loggedOut\": true\n },\n \"webResponseContextExtensionData\": {\n \"hasDecorated\": true\n }\n },\n \"trackingParams\": \"CAAQu2kiEwi3i6W1uvnwAhWVutUKHfr8DdI\u003d\",\n \"playabilityStatus\": {\n \"status\": \"LOGIN_REQUIRED\",\n \"messages\": [\n \"This is a private video. Please sign in to verify that you may see it.\"\n ],\n \"errorScreen\": {\n \"playerErrorMessageRenderer\": {\n \"subreason\": {\n \"simpleText\": \"Sign in if you\u0027ve been granted access to this video\"\n },\n \"reason\": {\n \"simpleText\": \"Private video\"\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\": \"CAEQ8FsiEwi3i6W1uvnwAhWVutUKHfr8DdI\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%3Dtrue%26app%3Ddesktop%26hl%3Den-GB\u0026hl\u003den-GB\",\n \"webPageType\": \"WEB_PAGE_TYPE_UNKNOWN\",\n \"rootVe\": 83769\n }\n },\n \"signInEndpoint\": {\n \"nextEndpoint\": {\n \"clickTrackingParams\": \"CAEQ8FsiEwi3i6W1uvnwAhWVutUKHfr8DdI\u003d\",\n \"urlEndpoint\": {\n \"url\": \"\"\n }\n }\n }\n },\n \"trackingParams\": \"CAEQ8FsiEwi3i6W1uvnwAhWVutUKHfr8DdI\u003d\"\n }\n },\n \"thumbnail\": {\n \"thumbnails\": [\n {\n \"url\": \"//s.ytimg.com/yts/img/meh7-vflGevej7.png\",\n \"width\": 140,\n \"height\": 100\n }\n ]\n },\n \"icon\": {\n \"iconType\": \"ERROR_OUTLINE\"\n }\n }\n },\n \"contextParams\": \"Q0FBU0FnZ0E\u003d\"\n }\n}\n",
|
||||
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgttZWhRSkliNTNKbyisl9-FBg%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\": \"24010466,24044575,23996830,23804281,23966208,23884386,23968099,24042868,23934970,23891346,23983296,24005646,24030040,24037806,23857950,24042870,23918597,1714253,24037794,23970529,24040786,23882685,24027649,24003105,24005802,24027133,23968386,23986034,23974595,23944779,24035275,23890959,24023960,24043961,23744176,24030993,23975059,9406122,24007246,24036085,24004644,23891344,24001373,23946420\"\n }\n ]\n },\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"2.20210601.07.00\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetPlayer_rid\",\n \"value\": \"0x84577a723c4606c1\"\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.20210601\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"WEB\"\n }\n ]\n }\n ],\n \"mainAppWebResponseContext\": {\n \"loggedOut\": true\n },\n \"webResponseContextExtensionData\": {\n \"hasDecorated\": true\n }\n },\n \"trackingParams\": \"CAAQu2kiEwjBycz8x_nwAhVnFfEFHV7RBvI\u003d\",\n \"playabilityStatus\": {\n \"status\": \"LOGIN_REQUIRED\",\n \"messages\": [\n \"This is a private video. Please sign in to verify that you may see it.\"\n ],\n \"errorScreen\": {\n \"playerErrorMessageRenderer\": {\n \"subreason\": {\n \"simpleText\": \"Sign in if you\u0027ve been granted access to this video\"\n },\n \"reason\": {\n \"simpleText\": \"Private video\"\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\": \"CAEQ8FsiEwjBycz8x_nwAhVnFfEFHV7RBvI\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%3Dtrue%26app%3Ddesktop%26hl%3Den-GB\u0026hl\u003den-GB\",\n \"webPageType\": \"WEB_PAGE_TYPE_UNKNOWN\",\n \"rootVe\": 83769\n }\n },\n \"signInEndpoint\": {\n \"nextEndpoint\": {\n \"clickTrackingParams\": \"CAEQ8FsiEwjBycz8x_nwAhVnFfEFHV7RBvI\u003d\",\n \"urlEndpoint\": {\n \"url\": \"\"\n }\n }\n }\n },\n \"trackingParams\": \"CAEQ8FsiEwjBycz8x_nwAhVnFfEFHV7RBvI\u003d\"\n }\n },\n \"thumbnail\": {\n \"thumbnails\": [\n {\n \"url\": \"//s.ytimg.com/yts/img/meh7-vflGevej7.png\",\n \"width\": 140,\n \"height\": 100\n }\n ]\n },\n \"icon\": {\n \"iconType\": \"ERROR_OUTLINE\"\n }\n }\n },\n \"contextParams\": \"Q0FBU0FnZ0E\u003d\"\n }\n}\n",
|
||||
"latestUrl": "https://www.youtube.com/youtubei/v1/player?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -20,7 +20,7 @@
|
|||
"bytes"
|
||||
],
|
||||
"age": [
|
||||
"127216"
|
||||
"130854"
|
||||
],
|
||||
"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\""
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -165,10 +165,10 @@
|
|||
"application/json; charset\u003dUTF-8"
|
||||
],
|
||||
"date": [
|
||||
"Wed, 02 Jun 2021 17:18:47 GMT"
|
||||
"Wed, 02 Jun 2021 18:19:26 GMT"
|
||||
],
|
||||
"expires": [
|
||||
"Wed, 02 Jun 2021 17:18:47 GMT"
|
||||
"Wed, 02 Jun 2021 18:19:26 GMT"
|
||||
],
|
||||
"p3p": [
|
||||
"CP\u003d\"This is not a P3P policy! See g.co/p3phelp for more info.\""
|
||||
|
@ -177,7 +177,7 @@
|
|||
"ESF"
|
||||
],
|
||||
"set-cookie": [
|
||||
"CONSENT\u003dPENDING+794; expires\u003dFri, 01-Jan-2038 00:00:00 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
|
||||
"CONSENT\u003dPENDING+657; expires\u003dFri, 01-Jan-2038 00:00:00 GMT; path\u003d/; domain\u003d.youtube.com; Secure"
|
||||
],
|
||||
"vary": [
|
||||
"Origin",
|
||||
|
@ -194,7 +194,7 @@
|
|||
"0"
|
||||
]
|
||||
},
|
||||
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgtJTUFIRkRhNVowcyj3-t6FBg%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\": \"24005203,23944779,23983296,24040786,24027133,23968386,24005802,1714258,24027649,24043530,23918597,24030040,24005646,23891346,9466591,23884386,23940238,23966208,23970529,24042868,23968099,24037806,24019112,24047189,23986016,23996830,23804281,24044136,24010466,24044575,24042870,23984878,24050933,24037794,23934970,23946420,24038975,24007246,24003104,23974595,24030993,24036085,23972706,23891344,24004644,24001373,23857949,24035275,23882503,23744176,23890959,24016853\"\n }\n ]\n },\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"2.20210601.07.00\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetPlayer_rid\",\n \"value\": \"0xb6a8a191ee24614a\"\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.20210601\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"WEB\"\n }\n ]\n }\n ],\n \"mainAppWebResponseContext\": {\n \"loggedOut\": true\n },\n \"webResponseContextExtensionData\": {\n \"hasDecorated\": true\n }\n },\n \"trackingParams\": \"CAAQu2kiEwjby7W2uvnwAhXy5-YKHfG8B4Q\u003d\",\n \"playabilityStatus\": {\n \"status\": \"ERROR\",\n \"reason\": \"Video unavailable\",\n \"errorScreen\": {\n \"playerErrorMessageRenderer\": {\n \"reason\": {\n \"simpleText\": \"Video unavailable\"\n },\n \"thumbnail\": {\n \"thumbnails\": [\n {\n \"url\": \"//s.ytimg.com/yts/img/meh7-vflGevej7.png\",\n \"width\": 140,\n \"height\": 100\n }\n ]\n },\n \"icon\": {\n \"iconType\": \"ERROR_OUTLINE\"\n }\n }\n },\n \"contextParams\": \"Q0FBU0FnZ0E\u003d\"\n }\n}\n",
|
||||
"responseBody": "{\n \"responseContext\": {\n \"visitorData\": \"CgtZWmRpVUhORVJ4Zyiul9-FBg%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\": \"24036085,24005802,23986015,23891344,24035275,23934970,24005646,23974595,23996830,23882503,24023961,23744176,23918597,23890959,24027649,24030992,24040786,24049820,23968386,24003106,23946420,24027133,24001373,24004644,24007246,23891346,24030040,24037806,23983296,23857949,23944779,24010465,23968099,24042868,23884386,23804281,23966208,24044575,1714245,23970529,24037794,24042870,24044724\"\n }\n ]\n },\n {\n \"service\": \"CSI\",\n \"params\": [\n {\n \"key\": \"c\",\n \"value\": \"WEB\"\n },\n {\n \"key\": \"cver\",\n \"value\": \"2.20210601.07.00\"\n },\n {\n \"key\": \"yt_li\",\n \"value\": \"0\"\n },\n {\n \"key\": \"GetPlayer_rid\",\n \"value\": \"0x735661d30e3bec12\"\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.20210601\"\n },\n {\n \"key\": \"client.name\",\n \"value\": \"WEB\"\n }\n ]\n }\n ],\n \"mainAppWebResponseContext\": {\n \"loggedOut\": true\n },\n \"webResponseContextExtensionData\": {\n \"hasDecorated\": true\n }\n },\n \"trackingParams\": \"CAAQu2kiEwjCz8D9x_nwAhW5F_EFHQKmCCk\u003d\",\n \"playabilityStatus\": {\n \"status\": \"ERROR\",\n \"reason\": \"Video unavailable\",\n \"errorScreen\": {\n \"playerErrorMessageRenderer\": {\n \"reason\": {\n \"simpleText\": \"Video unavailable\"\n },\n \"thumbnail\": {\n \"thumbnails\": [\n {\n \"url\": \"//s.ytimg.com/yts/img/meh7-vflGevej7.png\",\n \"width\": 140,\n \"height\": 100\n }\n ]\n },\n \"icon\": {\n \"iconType\": \"ERROR_OUTLINE\"\n }\n }\n },\n \"contextParams\": \"Q0FBU0FnZ0E\u003d\"\n }\n}\n",
|
||||
"latestUrl": "https://www.youtube.com/youtubei/v1/player?key\u003dAIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -20,7 +20,7 @@
|
|||
"bytes"
|
||||
],
|
||||
"age": [
|
||||
"127217"
|
||||
"130856"
|
||||
],
|
||||
"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\""
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -20,7 +20,7 @@
|
|||
"bytes"
|
||||
],
|
||||
"age": [
|
||||
"127220"
|
||||
"130859"
|
||||
],
|
||||
"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\""
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -37,7 +37,7 @@
|
|||
"bytes"
|
||||
],
|
||||
"age": [
|
||||
"127208"
|
||||
"130848"
|
||||
],
|
||||
"alt-svc": [
|
||||
"h3\u003d\":443\"; ma\u003d2592000,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\""
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -46,7 +46,7 @@
|
|||
"bytes"
|
||||
],
|
||||
"age": [
|
||||
"127210"
|
||||
"130850"
|
||||
],
|
||||
"alt-svc": [
|
||||
"h3\u003d\":443\"; ma\u003d2592000,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\""
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue