Add mocks for regular videos

This commit is contained in:
Samantaz Fox 2022-08-21 17:25:17 +02:00
parent c401dd9203
commit dfd53ea6ce
4 changed files with 21691 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,876 @@
{
"playabilityStatus": {
"status": "OK",
"playableInEmbed": true,
"miniplayer": {
"miniplayerRenderer": {
"playbackMode": "PLAYBACK_MODE_ALLOW"
}
},
"contextParams": "Q0FFU0FnZ0M="
},
"streamingData": {
"expiresInSeconds": "21540",
"formats": [
{
"itag": 18,
"mimeType": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
"bitrate": 446867,
"width": 468,
"height": 360,
"lastModified": "1576472924500733",
"contentLength": "15795767",
"quality": "medium",
"fps": 30,
"qualityLabel": "360p",
"projectionType": "RECTANGULAR",
"averageBitrate": 446772,
"audioQuality": "AUDIO_QUALITY_LOW",
"approxDurationMs": "282842",
"audioSampleRate": "44100",
"audioChannels": 2,
"signatureCipher": "s=2OAOq0QJ8wRQIgAwHUsySYxF3wOd9hA1..."
}
],
"adaptiveFormats": [
{
"itag": 135,
"mimeType": "video/mp4; codecs=\"avc1.4d401e\"",
"bitrate": 803719,
"width": 624,
"height": 480,
"initRange": {
"start": "0",
"end": "733"
},
"indexRange": {
"start": "734",
"end": "1425"
},
"lastModified": "1576473051257127",
"contentLength": "16330732",
"quality": "large",
"fps": 30,
"qualityLabel": "480p",
"projectionType": "RECTANGULAR",
"averageBitrate": 462002,
"approxDurationMs": "282782",
"signatureCipher": "s=JOAOq0QJ8wRQIhAMuZjzVL0uluD5OOR7..."
},
{
"itag": 244,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 553962,
"width": 624,
"height": 480,
"initRange": {
"start": "0",
"end": "200"
},
"indexRange": {
"start": "201",
"end": "1126"
},
"lastModified": "1576473421078682",
"contentLength": "13801139",
"quality": "large",
"fps": 30,
"qualityLabel": "480p",
"projectionType": "RECTANGULAR",
"averageBitrate": 390438,
"approxDurationMs": "282782",
"signatureCipher": "s=XOAOq0QJ8wRQIhAOw7gtFyvXSHiHVs7b..."
},
{
"itag": 397,
"mimeType": "video/mp4; codecs=\"av01.0.04M.08\"",
"bitrate": 463655,
"width": 624,
"height": 480,
"initRange": {
"start": "0",
"end": "699"
},
"indexRange": {
"start": "700",
"end": "1391"
},
"lastModified": "1627777702564837",
"contentLength": "12180063",
"quality": "large",
"fps": 30,
"qualityLabel": "480p",
"projectionType": "RECTANGULAR",
"averageBitrate": 344578,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "282782",
"signatureCipher": "s=jOAOq0QJ8wRgIhAK7Z-c1lt-9AGr_6j0AMWalAQsYfNUMfK1cY%3DRyx..."
},
{
"itag": 134,
"mimeType": "video/mp4; codecs=\"avc1.4d401e\"",
"bitrate": 437446,
"width": 468,
"height": 360,
"initRange": {
"start": "0",
"end": "735"
},
"indexRange": {
"start": "736",
"end": "1427"
},
"lastModified": "1576473051256250",
"contentLength": "8281348",
"quality": "medium",
"fps": 30,
"qualityLabel": "360p",
"projectionType": "RECTANGULAR",
"averageBitrate": 234282,
"highReplication": true,
"approxDurationMs": "282782",
"signatureCipher": "s=2ONOq0QJ8wRQIgAf2vDzmXBWCEvmj37b..."
},
{
"itag": 243,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 300027,
"width": 468,
"height": 360,
"initRange": {
"start": "0",
"end": "200"
},
"indexRange": {
"start": "201",
"end": "1126"
},
"lastModified": "1576473421079321",
"contentLength": "8417454",
"quality": "medium",
"fps": 30,
"qualityLabel": "360p",
"projectionType": "RECTANGULAR",
"averageBitrate": 238132,
"approxDurationMs": "282782",
"signatureCipher": "s=COAOq0QJ8wRQIhAJnxWyL59oLO7W8OoK..."
},
{
"itag": 396,
"mimeType": "video/mp4; codecs=\"av01.0.01M.08\"",
"bitrate": 263569,
"width": 468,
"height": 360,
"initRange": {
"start": "0",
"end": "699"
},
"indexRange": {
"start": "700",
"end": "1391"
},
"lastModified": "1627779491368446",
"contentLength": "6950663",
"quality": "medium",
"fps": 30,
"qualityLabel": "360p",
"projectionType": "RECTANGULAR",
"averageBitrate": 196636,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "282782",
"signatureCipher": "s=gOJOq0QJ8wRAIgA67pLFaYMijM9UJG..."
},
{
"itag": 133,
"mimeType": "video/mp4; codecs=\"avc1.4d400d\"",
"bitrate": 179762,
"width": 312,
"height": 240,
"initRange": {
"start": "0",
"end": "734"
},
"indexRange": {
"start": "735",
"end": "1426"
},
"lastModified": "1576473051256341",
"contentLength": "3354484",
"quality": "small",
"fps": 30,
"qualityLabel": "240p",
"projectionType": "RECTANGULAR",
"averageBitrate": 94899,
"approxDurationMs": "282782",
"signatureCipher": "s=6OWOq0QJ8wRQIgAcqFsDU0yF7aC9BSVpjSrl6WyTDtjEPtGhx9%3D2-B7l0CIQCyu-mIVGPFPP759kiQi-y..."
},
{
"itag": 242,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 163495,
"width": 312,
"height": 240,
"initRange": {
"start": "0",
"end": "199"
},
"indexRange": {
"start": "200",
"end": "1124"
},
"lastModified": "1576473421078512",
"contentLength": "4649747",
"quality": "small",
"fps": 30,
"qualityLabel": "240p",
"projectionType": "RECTANGULAR",
"averageBitrate": 131542,
"approxDurationMs": "282782",
"signatureCipher": "s=cOAOq0QJ8wRgIhAN_-4eoYE77X9jge3K2Jxz8AfT9wD_8g_-zy%3Dc-R6cLcAiEA2-C7ritB4MS1iRd_aLZ..."
},
{
"itag": 395,
"mimeType": "video/mp4; codecs=\"av01.0.00M.08\"",
"bitrate": 132660,
"width": 312,
"height": 240,
"initRange": {
"start": "0",
"end": "699"
},
"indexRange": {
"start": "700",
"end": "1391"
},
"lastModified": "1627777331894090",
"contentLength": "3569571",
"quality": "small",
"fps": 30,
"qualityLabel": "240p",
"projectionType": "RECTANGULAR",
"averageBitrate": 100984,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "282782",
"signatureCipher": "s=SOAOq0QJ8wRgIhALpvoUz36riOlfQxfMvkth5AH-Nv2-55UrbY%3DmQ31bsmAiEAvGi3DkN3P7Xu..."
},
{
"itag": 160,
"mimeType": "video/mp4; codecs=\"avc1.4d400c\"",
"bitrate": 82704,
"width": 188,
"height": 144,
"initRange": {
"start": "0",
"end": "733"
},
"indexRange": {
"start": "734",
"end": "1425"
},
"lastModified": "1576473051255988",
"contentLength": "1879464",
"quality": "tiny",
"fps": 30,
"qualityLabel": "144p",
"projectionType": "RECTANGULAR",
"averageBitrate": 53170,
"approxDurationMs": "282782",
"signatureCipher": "s=YOJOq0QJ8wRAIgAVoEpKHZx2ZgSg0NvP..."
},
{
"itag": 278,
"mimeType": "video/webm; codecs=\"vp9\"",
"bitrate": 73724,
"width": 188,
"height": 144,
"initRange": {
"start": "0",
"end": "198"
},
"indexRange": {
"start": "199",
"end": "1123"
},
"lastModified": "1576473421085696",
"contentLength": "2446595",
"quality": "tiny",
"fps": 30,
"qualityLabel": "144p",
"projectionType": "RECTANGULAR",
"averageBitrate": 69215,
"approxDurationMs": "282782",
"signatureCipher": "s=COMOq0QJ8wRQIgAm61-J_G19nSr_tnRKkjgSOM77mgNjtX6vlw%..."
},
{
"itag": 394,
"mimeType": "video/mp4; codecs=\"av01.0.00M.08\"",
"bitrate": 60938,
"width": 188,
"height": 144,
"initRange": {
"start": "0",
"end": "699"
},
"indexRange": {
"start": "700",
"end": "1391"
},
"lastModified": "1627777212579779",
"contentLength": "1821607",
"quality": "tiny",
"fps": 30,
"qualityLabel": "144p",
"projectionType": "RECTANGULAR",
"averageBitrate": 51533,
"colorInfo": {
"primaries": "COLOR_PRIMARIES_BT709",
"transferCharacteristics": "COLOR_TRANSFER_CHARACTERISTICS_BT709",
"matrixCoefficients": "COLOR_MATRIX_COEFFICIENTS_BT709"
},
"approxDurationMs": "282782",
"signatureCipher": "s=nOCOq0QJ8wRQIgAA0KKfhu5SgOOGysil..."
},
{
"itag": 140,
"mimeType": "audio/mp4; codecs=\"mp4a.40.2\"",
"bitrate": 130564,
"initRange": {
"start": "0",
"end": "631"
},
"indexRange": {
"start": "632",
"end": "1011"
},
"lastModified": "1576472919400470",
"contentLength": "4578228",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 129492,
"highReplication": true,
"audioQuality": "AUDIO_QUALITY_MEDIUM",
"approxDurationMs": "282842",
"audioSampleRate": "44100",
"audioChannels": 2,
"loudnessDb": 0.62906265,
"signatureCipher": "s=yOAOq0QJ8wRQIhAPUVyBEgPiSOSTLwQkVSKYdAVAvWm5K-ByKD%3DVR_IQDhAiASon0kpdrukznyL-..."
},
{
"itag": 249,
"mimeType": "audio/webm; codecs=\"opus\"",
"bitrate": 54208,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "748"
},
"lastModified": "1576472921808895",
"contentLength": "1714282",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 48494,
"audioQuality": "AUDIO_QUALITY_LOW",
"approxDurationMs": "282801",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 0.62906265,
"signatureCipher": "s=KOAOq0QJ8wRQIhAJsSF6DOZCdJwPVOTm..."
},
{
"itag": 250,
"mimeType": "audio/webm; codecs=\"opus\"",
"bitrate": 71361,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "748"
},
"lastModified": "1576472923109826",
"contentLength": "2279609",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 64486,
"audioQuality": "AUDIO_QUALITY_LOW",
"approxDurationMs": "282801",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 0.62906265,
"signatureCipher": "s=4ObOq0QJ8wRAIgAhXF3vVLnXErRaWH5j..."
},
{
"itag": 251,
"mimeType": "audio/webm; codecs=\"opus\"",
"bitrate": 136467,
"initRange": {
"start": "0",
"end": "258"
},
"indexRange": {
"start": "259",
"end": "748"
},
"lastModified": "1576472921407071",
"contentLength": "4527049",
"quality": "tiny",
"projectionType": "RECTANGULAR",
"averageBitrate": 128063,
"audioQuality": "AUDIO_QUALITY_MEDIUM",
"approxDurationMs": "282801",
"audioSampleRate": "48000",
"audioChannels": 2,
"loudnessDb": 0.62906265,
"signatureCipher": "s=eOAOq0QJ8wRQIhAPo3SmF2bhiJnzWGl9-2toUABZwOtCnGBg1b%3DkfDpqWxAiBcw..."
}
]
},
"videoDetails": {
"videoId": "iuevw6218F0",
"title": "Chris Rea - Auberge",
"lengthSeconds": "283",
"keywords": [
"Chris",
"Rea",
"Auberge",
"1991"
],
"channelId": "UC_5q6nWPbD30-y6oiWF_oNA",
"isOwnerViewing": false,
"shortDescription": "",
"isCrawlable": true,
"thumbnail": {
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/iuevw6218F0/hqdefault.jpg",
"width": 168,
"height": 94
},
{
"url": "https://i.ytimg.com/vi/iuevw6218F0/hqdefault.jpg",
"width": 196,
"height": 110
},
{
"url": "https://i.ytimg.com/vi/iuevw6218F0/hqdefault.jpg",
"width": 246,
"height": 138
},
{
"url": "https://i.ytimg.com/vi/iuevw6218F0/hqdefault.jpg",
"width": 336,
"height": 188
}
]
},
"allowRatings": true,
"viewCount": "10356197",
"author": "ChrisReaOfficial",
"isPrivate": false,
"isUnpluggedCorpus": false,
"isLiveContent": false
},
"playerConfig": {
"audioConfig": {
"loudnessDb": 0.62906265,
"perceptualLoudnessDb": -13.370937,
"enablePerFormatLoudness": true
},
"streamSelectionConfig": {
"maxBitrate": "3540000"
},
"mediaCommonConfig": {
"dynamicReadaheadConfig": {
"maxReadAheadMediaTimeMs": 120000,
"minReadAheadMediaTimeMs": 15000,
"readAheadGrowthRateMs": 1000
}
},
"webPlayerConfig": {
"webPlayerActionsPorting": {
"getSharePanelCommand": {
"commandMetadata": {
"webCommandMetadata": {
"sendPost": true,
"apiUrl": "/youtubei/v1/share/get_web_player_share_panel"
}
},
"webPlayerShareEntityServiceEndpoint": {
"serializedShareEntity": "CgtpdWV2dzYyMThGMA%3D%3D"
}
},
"subscribeCommand": {
"commandMetadata": {
"webCommandMetadata": {
"sendPost": true,
"apiUrl": "/youtubei/v1/subscription/subscribe"
}
},
"subscribeEndpoint": {
"channelIds": [
"UC_5q6nWPbD30-y6oiWF_oNA"
],
"params": "EgIIBxgA"
}
},
"unsubscribeCommand": {
"commandMetadata": {
"webCommandMetadata": {
"sendPost": true,
"apiUrl": "/youtubei/v1/subscription/unsubscribe"
}
},
"unsubscribeEndpoint": {
"channelIds": [
"UC_5q6nWPbD30-y6oiWF_oNA"
],
"params": "CgIIBxgA"
}
},
"addToWatchLaterCommand": {
"commandMetadata": {
"webCommandMetadata": {
"sendPost": true,
"apiUrl": "/youtubei/v1/browse/edit_playlist"
}
},
"playlistEditEndpoint": {
"playlistId": "WL",
"actions": [
{
"addedVideoId": "iuevw6218F0",
"action": "ACTION_ADD_VIDEO"
}
]
}
},
"removeFromWatchLaterCommand": {
"commandMetadata": {
"webCommandMetadata": {
"sendPost": true,
"apiUrl": "/youtubei/v1/browse/edit_playlist"
}
},
"playlistEditEndpoint": {
"playlistId": "WL",
"actions": [
{
"action": "ACTION_REMOVE_VIDEO_BY_VIDEO_ID",
"removedVideoId": "iuevw6218F0"
}
]
}
}
}
}
},
"storyboards": {
"playerStoryboardSpecRenderer": {
"spec": "https://i.ytimg.com/sb/iuevw6218F0/storyboard3_L$L/$N.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgjQotzvBQ==|48#27#100#10#10#0#default#rs$AOn4CLA9N2S9Q4_V0iR97grnumGNESZKAg|58#45#143#10#10#2000#M$M#rs$AOn4CLCULr6xp_PaibW6tZH7DkjdMfqapg|117#90#143#5#5#2000#M$M#rs$AOn4CLA0aIcyTcTcarEld5948-w5Lr1aMg"
}
},
"microformat": {
"playerMicroformatRenderer": {
"thumbnail": {
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/iuevw6218F0/hqdefault.jpg",
"width": 480,
"height": 360
}
]
},
"embed": {
"iframeUrl": "https://www.youtube.com/embed/iuevw6218F0",
"flashUrl": "http://www.youtube.com/v/iuevw6218F0?version=3&autohide=1",
"width": 480,
"height": 360,
"flashSecureUrl": "https://www.youtube.com/v/iuevw6218F0?version=3&autohide=1"
},
"title": {
"simpleText": "Chris Rea - Auberge"
},
"description": {
"simpleText": " "
},
"lengthSeconds": "283",
"ownerProfileUrl": "http://www.youtube.com/user/ChrisReaOfficial",
"externalChannelId": "UC_5q6nWPbD30-y6oiWF_oNA",
"isFamilySafe": true,
"availableCountries": [
"AD",
"AE",
"AF",
"AG",
"AI",
"AL",
"AM",
"AO",
"AQ",
"AR",
"AS",
"AT",
"AU",
"AW",
"AX",
"AZ",
"BA",
"BB",
"BD",
"BE",
"BF",
"BG",
"BH",
"BI",
"BJ",
"BL",
"BM",
"BN",
"BO",
"BQ",
"BR",
"BS",
"BT",
"BV",
"BW",
"BY",
"BZ",
"CA",
"CC",
"CD",
"CF",
"CG",
"CH",
"CI",
"CK",
"CL",
"CM",
"CN",
"CO",
"CR",
"CU",
"CV",
"CW",
"CX",
"CY",
"CZ",
"DE",
"DJ",
"DK",
"DM",
"DO",
"DZ",
"EC",
"EE",
"EG",
"EH",
"ER",
"ES",
"ET",
"FI",
"FJ",
"FK",
"FM",
"FO",
"FR",
"GA",
"GB",
"GD",
"GE",
"GF",
"GG",
"GH",
"GI",
"GL",
"GM",
"GN",
"GP",
"GQ",
"GR",
"GS",
"GT",
"GU",
"GW",
"GY",
"HK",
"HM",
"HN",
"HR",
"HT",
"HU",
"ID",
"IE",
"IL",
"IM",
"IN",
"IO",
"IQ",
"IR",
"IS",
"IT",
"JE",
"JM",
"JO",
"JP",
"KE",
"KG",
"KH",
"KI",
"KM",
"KN",
"KP",
"KR",
"KW",
"KY",
"KZ",
"LA",
"LB",
"LC",
"LI",
"LK",
"LR",
"LS",
"LT",
"LU",
"LV",
"LY",
"MA",
"MC",
"MD",
"ME",
"MF",
"MG",
"MH",
"MK",
"ML",
"MM",
"MN",
"MO",
"MP",
"MQ",
"MR",
"MS",
"MT",
"MU",
"MV",
"MW",
"MX",
"MY",
"MZ",
"NA",
"NC",
"NE",
"NF",
"NG",
"NI",
"NL",
"NO",
"NP",
"NR",
"NU",
"NZ",
"OM",
"PA",
"PE",
"PF",
"PG",
"PH",
"PK",
"PL",
"PM",
"PN",
"PR",
"PS",
"PT",
"PW",
"PY",
"QA",
"RE",
"RO",
"RS",
"RU",
"RW",
"SA",
"SB",
"SC",
"SD",
"SE",
"SG",
"SH",
"SI",
"SJ",
"SK",
"SL",
"SM",
"SN",
"SO",
"SR",
"SS",
"ST",
"SV",
"SX",
"SY",
"SZ",
"TC",
"TD",
"TF",
"TG",
"TH",
"TJ",
"TK",
"TL",
"TM",
"TN",
"TO",
"TR",
"TT",
"TV",
"TW",
"TZ",
"UA",
"UG",
"UM",
"US",
"UY",
"UZ",
"VA",
"VC",
"VE",
"VG",
"VI",
"VN",
"VU",
"WF",
"WS",
"YE",
"YT",
"ZA",
"ZM",
"ZW"
],
"isUnlisted": false,
"hasYpcMetadata": false,
"viewCount": "10356197",
"category": "Music",
"publishDate": "2012-05-21",
"ownerChannelName": "ChrisReaOfficial",
"uploadDate": "2012-05-21"
}
}
}