-
Notifications
You must be signed in to change notification settings - Fork 819
Replies: 1 comment · 7 replies
-
Could you do that by setting cookies? |
Beta Was this translation helpful? Give feedback.
All reactions
-
hmmm... what does |
Beta Was this translation helpful? Give feedback.
All reactions
-
I see, getting the better format seems to be more difficult than I thought... You may think you want to remove or modify the comment, containing your ip address (though it is me who asked for it, I'm sorry) |
Beta Was this translation helpful? Give feedback.
All reactions
-
@mtripg6666tdr I just updated my comment while you were commenting, and I added a potential hint. Thanks for the advice !! I have removed the IP only it in order to keep the message and the JSON as log for the rest of the discussion: Here is the sample of the formats response.
JSON Response{
"formats": [
{
"mimeType": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
"qualityLabel": "360p",
"bitrate": 172468,
"audioBitrate": 96,
"itag": 18,
"width": 360,
"height": 360,
"lastModified": "1666923722232244",
"contentLength": "5788058",
"quality": "medium",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 172431,
"audioQuality": "AUDIO_QUALITY_LOW",
"approxDurationMs": "268538",
"audioSampleRate": "44100",
"audioChannels": 2,
"url": "",
"hasVideo": true,
"hasAudio": true,
"container": "mp4",
"codecs": "avc1.42001E, mp4a.40.2",
"videoCodec": "avc1.42001E",
"audioCodec": "mp4a.40.2",
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/webm; codecs=\"vp9\"",
"qualityLabel": "1080p",
"bitrate": 1297139,
"audioBitrate": null,
"itag": 248,
"width": 1080,
"height": 1080,
"initRange": {
"start": "0",
"end": "219"
},
"indexRange": {
"start": "220",
"end": "1118"
},
"lastModified": "1666923719451724",
"contentLength": "19461096",
"quality": "hd1080",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 579889,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRAIgb9ju5BUMbzKIyA-udNirPgmxUNGzYP5EmDppN7p-5rECIEYJv0J3-gBMKHS-7kekNxF41efCNmdmgLHmm-0Mq-nD",
"hasVideo": true,
"hasAudio": false,
"container": "webm",
"codecs": "vp9",
"videoCodec": "vp9",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/mp4; codecs=\"avc1.640020\"",
"qualityLabel": "1080p",
"bitrate": 1034596,
"audioBitrate": null,
"itag": 137,
"width": 1080,
"height": 1080,
"initRange": {
"start": "0",
"end": "742"
},
"indexRange": {
"start": "743",
"end": "1410"
},
"lastModified": "1666923729394062",
"contentLength": "21085378",
"quality": "hd1080",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 628288,
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRAIgHNfrPJDjWf3rao-cjr8qm0MOjO-1befMvygjtLJ-pZICIBd27ATzXulYx8kWGw6Afn8wJoazfjI-2NQmMcq-5y3q",
"hasVideo": true,
"hasAudio": false,
"container": "mp4",
"codecs": "avc1.640020",
"videoCodec": "avc1.640020",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/mp4; codecs=\"avc1.64001f\"",
"qualityLabel": "720p",
"bitrate": 531732,
"audioBitrate": null,
"itag": 136,
"width": 720,
"height": 720,
"initRange": {
"start": "0",
"end": "740"
},
"indexRange": {
"start": "741",
"end": "1408"
},
"lastModified": "1666923747798575",
"contentLength": "9403070",
"quality": "hd720",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 280186,
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRgIhAPSy8eA8G3F76plNZRI6LLy1xRFteOyOtS5sq7dx9B2bAiEAt_BIgPw_WaoO5BCh1ZAA0rwbjg4bFH643hkAuRNlEhc%3D",
"hasVideo": true,
"hasAudio": false,
"container": "mp4",
"codecs": "avc1.64001f",
"videoCodec": "avc1.64001f",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/webm; codecs=\"vp9\"",
"qualityLabel": "720p",
"bitrate": 489782,
"audioBitrate": null,
"itag": 247,
"width": 720,
"height": 720,
"initRange": {
"start": "0",
"end": "219"
},
"indexRange": {
"start": "220",
"end": "1111"
},
"lastModified": "1666923721334612",
"contentLength": "8533689",
"quality": "hd720",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 254281,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRAIgJMg5TrN87bmy-kOiGh1zakVtaBVWsbzsXcmSrHYMMvoCIG_JSk-h9oUdK5SowAPx_oNsfvU5DZHYndEUCFXq1BmJ",
"hasVideo": true,
"hasAudio": false,
"container": "webm",
"codecs": "vp9",
"videoCodec": "vp9",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/webm; codecs=\"vp9\"",
"qualityLabel": "480p",
"bitrate": 275942,
"audioBitrate": null,
"itag": 244,
"width": 480,
"height": 480,
"initRange": {
"start": "0",
"end": "219"
},
"indexRange": {
"start": "220",
"end": "1111"
},
"lastModified": "1666923730796084",
"contentLength": "4880926",
"quality": "large",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 145438,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRQIhAK7RyUlJ48LPE9f6ygbqlB1f2QkpRQGmPEKd1XNyng5RAiBhpXZRvTM8sAzW3RkkJ6gFezOo8HZuIXnaFb3-_EVnLg%3D%3D",
"hasVideo": true,
"hasAudio": false,
"container": "webm",
"codecs": "vp9",
"videoCodec": "vp9",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/mp4; codecs=\"avc1.4d401e\"",
"qualityLabel": "480p",
"bitrate": 266885,
"audioBitrate": null,
"itag": 135,
"width": 480,
"height": 480,
"initRange": {
"start": "0",
"end": "739"
},
"indexRange": {
"start": "740",
"end": "1407"
},
"lastModified": "1666923750880894",
"contentLength": "4473620",
"quality": "large",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 133302,
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRQIhALteFbSR6V-rgn7_goP658cm3k7Fo5ra8A89pZw2y4fQAiBEKmP4Z3fP--wiHIQXq-SBDSvDBCwCJuxLChZ00ZXVcw%3D%3D",
"hasVideo": true,
"hasAudio": false,
"container": "mp4",
"codecs": "avc1.4d401e",
"videoCodec": "avc1.4d401e",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/webm; codecs=\"vp9\"",
"qualityLabel": "360p",
"bitrate": 173832,
"audioBitrate": null,
"itag": 243,
"width": 360,
"height": 360,
"initRange": {
"start": "0",
"end": "219"
},
"indexRange": {
"start": "220",
"end": "1110"
},
"lastModified": "1666923739801273",
"contentLength": "2880650",
"quality": "medium",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 85835,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRQIgIBPAzwky5IdR4STxf9xE__QMUN3PY67DxsHgBWJ0u8YCIQDFqOrLmu8KTs0oMsTBxirAR_Ev6MUMorCX1zCyeXzffA%3D%3D",
"hasVideo": true,
"hasAudio": false,
"container": "webm",
"codecs": "vp9",
"videoCodec": "vp9",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/mp4; codecs=\"avc1.4d4015\"",
"qualityLabel": "360p",
"bitrate": 146907,
"audioBitrate": null,
"itag": 134,
"width": 360,
"height": 360,
"initRange": {
"start": "0",
"end": "740"
},
"indexRange": {
"start": "741",
"end": "1408"
},
"lastModified": "1666923749932573",
"contentLength": "2585395",
"quality": "medium",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 77037,
"highReplication": true,
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRQIhAIJOghjvQCb-Odn03C3pJycZjZSFvzD12rKhIrNj4gBNAiBF49AH85gckLV2H-ak5cQcUrVRVHYt8KuFUvSxJazleA%3D%3D",
"hasVideo": true,
"hasAudio": false,
"container": "mp4",
"codecs": "avc1.4d4015",
"videoCodec": "avc1.4d4015",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/webm; codecs=\"vp9\"",
"qualityLabel": "240p",
"bitrate": 104732,
"audioBitrate": null,
"itag": 242,
"width": 240,
"height": 240,
"initRange": {
"start": "0",
"end": "216"
},
"indexRange": {
"start": "217",
"end": "1107"
},
"lastModified": "1666923731009297",
"contentLength": "1770079",
"quality": "small",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 52743,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRgIhAJW9JMU9y5IWNKTxC-4QenJEgQhlID-jV_VT7s5xC_pEAiEA3XXCSfsuEZ_b01RHLbZX2IdklWXrilDoLbx22eRB-oA%3D",
"hasVideo": true,
"hasAudio": false,
"container": "webm",
"codecs": "vp9",
"videoCodec": "vp9",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/mp4; codecs=\"avc1.4d400c\"",
"qualityLabel": "240p",
"bitrate": 77914,
"audioBitrate": null,
"itag": 133,
"width": 240,
"height": 240,
"initRange": {
"start": "0",
"end": "738"
},
"indexRange": {
"start": "739",
"end": "1406"
},
"lastModified": "1666923721063581",
"contentLength": "1374287",
"quality": "small",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 40950,
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRAIgRlaXSqXDtGyuAg-C4b6w1gZDibokCC0Nl1-yYadwS2ICIE7k0o-1eMshEt2uHBVrD46qjiwgvlwLwM9lKHmTGnjy",
"hasVideo": true,
"hasAudio": false,
"container": "mp4",
"codecs": "avc1.4d400c",
"videoCodec": "avc1.4d400c",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/webm; codecs=\"vp9\"",
"qualityLabel": "144p",
"bitrate": 47807,
"audioBitrate": null,
"itag": 278,
"width": 144,
"height": 144,
"initRange": {
"start": "0",
"end": "216"
},
"indexRange": {
"start": "217",
"end": "1105"
},
"lastModified": "1666923720428723",
"contentLength": "883086",
"quality": "tiny",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 26313,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRAIgcp7lUT72OqaupYj5SCTObgOfjhstnbYyd2YXKNZLcBoCID7jdpG2Cc9DkemDZnXL19escOP99_JbNm20r37JJ5QL",
"hasVideo": true,
"hasAudio": false,
"container": "webm",
"codecs": "vp9",
"videoCodec": "vp9",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "video/mp4; codecs=\"avc1.4d400b\"",
"qualityLabel": "144p",
"bitrate": 36778,
"audioBitrate": null,
"itag": 160,
"width": 144,
"height": 144,
"initRange": {
"start": "0",
"end": "738"
},
"indexRange": {
"start": "739",
"end": "1406"
},
"lastModified": "1666923749392915",
"contentLength": "704605",
"quality": "tiny",
"fps": 25,
"projectionType": "RECTANGULAR",
"averageBitrate": 20995,
"approxDurationMs": "268480",
"url": "D&sig=AOq0QJ8wRgIhAKXX-2bn2VqdrCFOxEBMZnoCMf4abl67dtLlEeXVwtqPAiEA1wgEasdioRPfgMJguh39etls8VxF76od04ttr4_J7Io%3D",
"hasVideo": true,
"hasAudio": false,
"container": "mp4",
"codecs": "avc1.4d400b",
"videoCodec": "avc1.4d400b",
"audioCodec": null,
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "audio/webm; codecs=\"opus\"",
"qualityLabel": null,
"bitrate": 138686,
"audioBitrate": 160,
"itag": 251,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "714"
},
"lastModified": "1666923749117665",
"contentLength": "4161532",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 123993,
"audioQuality": "AUDIO_QUALITY_MEDIUM",
"approxDurationMs": "268501",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 7.7800002,
"url": "",
"hasVideo": false,
"hasAudio": true,
"container": "webm",
"codecs": "opus",
"videoCodec": null,
"audioCodec": "opus",
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "audio/mp4; codecs=\"mp4a.40.2\"",
"qualityLabel": null,
"bitrate": 131029,
"audioBitrate": 128,
"itag": 140,
"initRange": {
"start": "0",
"end": "667"
},
"indexRange": {
"start": "668",
"end": "1023"
},
"lastModified": "1666923745786680",
"contentLength": "4348248",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 129565,
"highReplication": true,
"audioQuality": "AUDIO_QUALITY_MEDIUM",
"approxDurationMs": "268481",
"audioSampleRate": "44100",
"audioChannels": 2,
"loudnessDb": 7.7800002,
"url": "",
"hasVideo": false,
"hasAudio": true,
"container": "mp4",
"codecs": "mp4a.40.2",
"videoCodec": null,
"audioCodec": "mp4a.40.2",
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "audio/webm; codecs=\"opus\"",
"qualityLabel": null,
"bitrate": 70111,
"audioBitrate": 64,
"itag": 250,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "714"
},
"lastModified": "1666923749134513",
"contentLength": "2055899",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 61255,
"audioQuality": "AUDIO_QUALITY_LOW",
"approxDurationMs": "268501",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 7.7800002,
"url": "",
"hasVideo": false,
"hasAudio": true,
"container": "webm",
"codecs": "opus",
"videoCodec": null,
"audioCodec": "opus",
"isLive": false,
"isHLS": false,
"isDashMPD": false
},
{
"mimeType": "audio/webm; codecs=\"opus\"",
"qualityLabel": null,
"bitrate": 52865,
"audioBitrate": 48,
"itag": 249,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "714"
},
"lastModified": "1666923748237425",
"contentLength": "1550029",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 46183,
"audioQuality": "AUDIO_QUALITY_LOW",
"approxDurationMs": "268501",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 7.7800002,
"url": "",
"hasVideo": false,
"hasAudio": true,
"container": "webm",
"codecs": "opus",
"videoCodec": null,
"audioCodec": "opus",
"isLive": false,
"isHLS": false,
"isDashMPD": false
}
]
} HintBy looking through the dev console, I found it in the Requested url: JSON Response{
"adaptiveFormats": [
{
"itag": 137,
"mimeType": "video/mp4; codecs=\"avc1.640020\"",
"bitrate": 861096,
"width": 1080,
"height": 1080,
"initRange": {
"start": "0",
"end": "742"
},
"indexRange": {
"start": "743",
"end": "1410"
},
"lastModified": "1665112127003209",
"contentLength": "16268017",
"quality": "hd1080",
"fps": 25,
"qualityLabel": "1080p",
"projectionType": "RECTANGULAR",
"averageBitrate": 484744,
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 248,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 710864,
"width": 1080,
"height": 1080,
"initRange": {
"start": "0",
"end": "219"
},
"indexRange": {
"start": "220",
"end": "1111"
},
"lastModified": "1665112125185311",
"contentLength": "14178298",
"quality": "hd1080",
"fps": 25,
"qualityLabel": "1080p",
"projectionType": "RECTANGULAR",
"averageBitrate": 422476,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 136,
"mimeType": "video/mp4; codecs=\"avc1.64001f\"",
"bitrate": 469246,
"width": 720,
"height": 720,
"initRange": {
"start": "0",
"end": "740"
},
"indexRange": {
"start": "741",
"end": "1408"
},
"lastModified": "1665112122764687",
"contentLength": "8346629",
"quality": "hd720",
"fps": 25,
"qualityLabel": "720p",
"projectionType": "RECTANGULAR",
"averageBitrate": 248707,
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 247,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 384185,
"width": 720,
"height": 720,
"initRange": {
"start": "0",
"end": "219"
},
"indexRange": {
"start": "220",
"end": "1111"
},
"lastModified": "1665112139043062",
"contentLength": "5930495",
"quality": "hd720",
"fps": 25,
"qualityLabel": "720p",
"projectionType": "RECTANGULAR",
"averageBitrate": 176713,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 135,
"mimeType": "video/mp4; codecs=\"avc1.4d401e\"",
"bitrate": 210464,
"width": 480,
"height": 480,
"initRange": {
"start": "0",
"end": "739"
},
"indexRange": {
"start": "740",
"end": "1407"
},
"lastModified": "1665112131937971",
"contentLength": "3784299",
"quality": "large",
"fps": 25,
"qualityLabel": "480p",
"projectionType": "RECTANGULAR",
"averageBitrate": 112762,
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 244,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 194632,
"width": 480,
"height": 480,
"initRange": {
"start": "0",
"end": "219"
},
"indexRange": {
"start": "220",
"end": "1111"
},
"lastModified": "1665112144073418",
"contentLength": "3510938",
"quality": "large",
"fps": 25,
"qualityLabel": "480p",
"projectionType": "RECTANGULAR",
"averageBitrate": 104616,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 134,
"mimeType": "video/mp4; codecs=\"avc1.4d4015\"",
"bitrate": 136553,
"width": 360,
"height": 360,
"initRange": {
"start": "0",
"end": "740"
},
"indexRange": {
"start": "741",
"end": "1408"
},
"lastModified": "1665112100685086",
"contentLength": "2253525",
"quality": "medium",
"fps": 25,
"qualityLabel": "360p",
"projectionType": "RECTANGULAR",
"averageBitrate": 67149,
"highReplication": true,
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 243,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 128671,
"width": 360,
"height": 360,
"initRange": {
"start": "0",
"end": "219"
},
"indexRange": {
"start": "220",
"end": "1110"
},
"lastModified": "1665112139467115",
"contentLength": "2386634",
"quality": "medium",
"fps": 25,
"qualityLabel": "360p",
"projectionType": "RECTANGULAR",
"averageBitrate": 71115,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 133,
"mimeType": "video/mp4; codecs=\"avc1.4d400c\"",
"bitrate": 72139,
"width": 240,
"height": 240,
"initRange": {
"start": "0",
"end": "738"
},
"indexRange": {
"start": "739",
"end": "1406"
},
"lastModified": "1665112107831115",
"contentLength": "1295233",
"quality": "small",
"fps": 25,
"qualityLabel": "240p",
"projectionType": "RECTANGULAR",
"averageBitrate": 38594,
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 242,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 86149,
"width": 240,
"height": 240,
"initRange": {
"start": "0",
"end": "216"
},
"indexRange": {
"start": "217",
"end": "1106"
},
"lastModified": "1665112114021251",
"contentLength": "1539192",
"quality": "small",
"fps": 25,
"qualityLabel": "240p",
"projectionType": "RECTANGULAR",
"averageBitrate": 45863,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 160,
"mimeType": "video/mp4; codecs=\"avc1.4d400b\"",
"bitrate": 34282,
"width": 144,
"height": 144,
"initRange": {
"start": "0",
"end": "738"
},
"indexRange": {
"start": "739",
"end": "1406"
},
"lastModified": "1665112141796793",
"contentLength": "644231",
"quality": "tiny",
"fps": 25,
"qualityLabel": "144p",
"projectionType": "RECTANGULAR",
"averageBitrate": 19196,
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 278,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 42178,
"width": 144,
"height": 144,
"initRange": {
"start": "0",
"end": "216"
},
"indexRange": {
"start": "217",
"end": "1104"
},
"lastModified": "1665112110149833",
"contentLength": "811621",
"quality": "tiny",
"fps": 25,
"qualityLabel": "144p",
"projectionType": "RECTANGULAR",
"averageBitrate": 24184,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "268480",
"signatureCipher": ""
},
{
"itag": 140,
"mimeType": "audio/mp4; codecs=\"mp4a.40.2\"",
"bitrate": 131029,
"initRange": {
"start": "0",
"end": "667"
},
"indexRange": {
"start": "668",
"end": "1023"
},
"lastModified": "1665112324170741",
"contentLength": "4348248",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 129565,
"highReplication": true,
"audioQuality": "AUDIO_QUALITY_MEDIUM",
"approxDurationMs": "268481",
"audioSampleRate": "44100",
"audioChannels": 2,
"loudnessDb": 0.7800002,
"signatureCipher": ""
},
{
"itag": 141,
"mimeType": "audio/mp4; codecs=\"mp4a.40.2\"",
"bitrate": 259446,
"initRange": {
"start": "0",
"end": "667"
},
"indexRange": {
"start": "668",
"end": "1023"
},
"lastModified": "1665112324231866",
"contentLength": "8644868",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 257593,
"audioQuality": "AUDIO_QUALITY_HIGH",
"approxDurationMs": "268481",
"audioSampleRate": "44100",
"audioChannels": 2,
"loudnessDb": 0.7800002,
"signatureCipher": ""
},
{
"itag": 249,
"mimeType": "audio/webm; codecs=\"opus\"",
"bitrate": 52865,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "714"
},
"lastModified": "1665112209430680",
"contentLength": "1550029",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 46183,
"audioQuality": "AUDIO_QUALITY_LOW",
"approxDurationMs": "268501",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 0.7800002,
"signatureCipher": ""
},
{
"itag": 250,
"mimeType": "audio/webm; codecs=\"opus\"",
"bitrate": 70111,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "714"
},
"lastModified": "1665112209420914",
"contentLength": "2055899",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 61255,
"audioQuality": "AUDIO_QUALITY_LOW",
"approxDurationMs": "268501",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 0.7800002,
"signatureCipher": ""
},
{
"itag": 251,
"mimeType": "audio/webm; codecs=\"opus\"",
"bitrate": 138686,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "714"
},
"lastModified": "1665112209436895",
"contentLength": "4161532",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 123993,
"audioQuality": "AUDIO_QUALITY_MEDIUM",
"approxDurationMs": "268501",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 0.7800002,
"signatureCipher": ""
}
]
} yt-dlp approachUnfortunatly, this approach doesn't give me much, I found a similar result and no sign of high quality: And it should since there new features:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
hmm.... yt-dlp should work naturally since saying available though.... |
Beta Was this translation helpful? Give feedback.
All reactions
-
Yeah, I tried it too, but I got the same result as presented above. Maybe I'm missing something with the cookies. Still, thank you for your help :) [Edit] I finally made it to work with my Windows in order to retrieve cookies from my web browser, and it worked (only with the music.youtube url) ! HintI guess some cookies are required, but not only from the YouTube domain. It may require cookie across multiple domain, such as Google. During my research I found this post explaining this approach, and it says to export the cookies from :
But even with them, I do not get the expected result, then I guess some are missing. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Is it possible to use our custom YTM premium account with ytdl-core in order to have more and better quality audio format, for example ?
From now, the highest quality I can get is the
itag: 140 (m4a)
but YouTube Music use a higher format :itag: 141 (m4a)
Beta Was this translation helpful? Give feedback.
All reactions