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

68 lines
2.8 MiB
JSON
Raw Normal View History

{
"request": {
2022-03-15 19:14:34 +01:00
"httpMethod": "GET",
2023-07-23 19:36:28 +02:00
"url": "https://www.youtube.com/s/player/8e83803a/player_ias.vflset/en_US/base.js",
"headers": {
"Accept-Language": [
"en-GB, en;q\u003d0.9"
]
},
"localization": {
"languageCode": "en",
"countryCode": "GB"
}
},
"response": {
"responseCode": 200,
"responseMessage": "",
"responseHeaders": {
2022-03-15 19:14:34 +01:00
"accept-ranges": [
"bytes"
],
"age": [
2023-07-23 19:36:28 +02:00
"298202"
2022-03-15 19:14:34 +01:00
],
"alt-svc": [
2023-07-23 19:36:28 +02:00
"h3\u003d\":443\"; ma\u003d2592000,h3-29\u003d\":443\"; ma\u003d2592000"
],
"cache-control": [
2022-03-15 19:14:34 +01:00
"public, max-age\u003d31536000"
],
"content-type": [
2022-03-15 19:14:34 +01:00
"text/javascript"
],
"cross-origin-opener-policy-report-only": [
"same-origin; report-to\u003d\"youtube\""
],
"cross-origin-resource-policy": [
"cross-origin"
],
"date": [
2023-07-23 19:36:28 +02:00
"Wed, 19 Jul 2023 07:34:36 GMT"
],
"expires": [
2023-07-23 19:36:28 +02:00
"Thu, 18 Jul 2024 07:34:36 GMT"
],
2022-03-15 19:14:34 +01:00
"last-modified": [
2023-07-23 19:36:28 +02:00
"Wed, 19 Jul 2023 01:47:56 GMT"
],
2022-03-15 19:14:34 +01:00
"report-to": [
"{\"group\":\"youtube\",\"max_age\":2592000,\"endpoints\":[{\"url\":\"https://csp.withgoogle.com/csp/report-to/youtube\"}]}"
],
2022-03-15 19:14:34 +01:00
"server": [
"sffe"
],
"vary": [
2022-03-15 19:14:34 +01:00
"Accept-Encoding, Origin"
],
"x-content-type-options": [
"nosniff"
],
"x-xss-protection": [
"0"
]
},
2023-07-23 19:36:28 +02:00
"responseBody": "var _yt_player\u003d{};(function(g){var window\u003dthis;/*\n\n (The MIT License)\n\n Copyright (C) 2014 by Vitaly Puzrin\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n\n -----------------------------------------------------------------------------\n Ported from zlib, which is under the following license\n https://github.com/madler/zlib/blob/master/zlib.h\n\n zlib.h -- interface of the \u0027zlib\u0027 general purpose compression library\n version 1.2.8, April 28th, 2013\n Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler\n This software is provided \u0027as-is\u0027, without any express or implied\n warranty. In no event will the authors be held liable for any damages\n arising from the use of this software.\n Permission is granted to anyone to use this software for any purpose,\n including commercial applications, and to alter it and redistribute it\n freely, subject to the following restrictions:\n 1. The origin of this software must not be misrepresented; you must not\n claim that you wrote the original software. If you use this software\n in a product, an acknowledgment in the product documentation would be\n appreciated but is not required.\n 2. Altered source versions must be plainly marked as such, and must not be\n misrepresented as being the original software.\n 3. This notice may not be removed or altered from any source distribution.\n Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu\n The data format used by the zlib library is described by RFCs (Request for\n Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950\n (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).\n*/\n/*\n\n\n The MIT License (MIT)\n\n Copyright (c) 2015-present Dan Abramov\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n/*\n\n Copyright The Closure Library Authors.\n SPDX-License-Identifier: Apache-2.0\n*/\n/*\n\n SPDX-License-Identifier: Apache-2.0\n*/\n\u0027use strict\u0027;var aa,baa,caa,la,
"latestUrl": "https://www.youtube.com/s/player/8e83803a/player_ias.vflset/en_US/base.js"
}
}