Skip to content

Instantly share code, notes, and snippets.

@simevidas
Created February 26, 2019 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simevidas/5df01157db7e29f8fc362c9d1943c452 to your computer and use it in GitHub Desktop.
Save simevidas/5df01157db7e29f8fc362c9d1943c452 to your computer and use it in GitHub Desktop.
window["ytInitialPlayerResponse"] = ({
"responseContext": {
"serviceTrackingParams": [{
"service": "GFEEDBACK",
"params": [{
"key": "is_viewed_live",
"value": "False"
}, {
"key": "e",
"value": "23710476,23733013,23736685,23744176,23751767,23752869,23755886,23755898,23758087,23758201,23759539,23760559,23760704,23761607,23762649,23764064,23764741,23768292,23769730,23778934,23780479,23780706,23783454,23785187,23785333,23785745,23786637,23787228,23788852,23789420,23789432,23789671,23789842,23790675,23792217,23792774,23793965,23795305,23795527,23795862,23796763,23796890,23797407,23797443,9440173,9449243,9460516,9469037,9471239,9471649,9475672"
}, {
"key": "logged_in",
"value": "1"
}, {
"key": "pn",
"value": "watch"
}]
}, {
"service": "CSI",
"params": [{
"key": "GetPlayer_rid",
"value": "0x28953a2c0983b12a"
}, {
"key": "c",
"value": "WEB"
}, {
"key": "cver",
"value": "2.20190223"
}, {
"key": "yt_li",
"value": "1"
}]
}, {
"service": "GUIDED_HELP",
"params": [{
"key": "creator_channel_id",
"value": "UCT9EG0fDvWOB_IrjmGnqlFw"
}, {
"key": "logged_in",
"value": "1"
}]
}, {
"service": "ECATCHER",
"params": [{
"key": "client.name",
"value": "WEB"
}, {
"key": "client.version",
"value": "2.20190223"
}, {
"key": "innertube.build.changelist",
"value": "235572447"
}, {
"key": "innertube.build.experiments.source_version",
"value": "235748712"
}, {
"key": "innertube.build.label",
"value": "youtube.ytfe.innertube_20190222_8_RC2"
}, {
"key": "innertube.build.timestamp",
"value": "1551124499"
}, {
"key": "innertube.build.variants.checksum",
"value": "eb0a683f972e4fb992f62cfd072c6276"
}, {
"key": "innertube.run.job",
"value": "ytfe-innertube-replica-only.ytfe"
}]
}],
"webResponseContextExtensionData": {
"ytConfigData": {
"csn": "_bZ1XPvtJoHmgQe_8ZCICQ",
"visitorData": "Cgtna3RHUzNUU3BmRSj97dbjBQ%3D%3D",
"sessionIndex": 0,
"rootVisualElementType": 3832
},
"feedbackDialog": {
"polymerOptOutFeedbackDialogRenderer": {
"title": {
"simpleText": "We're sorry to see you go!"
},
"subtitle": {
"runs": [{
"text": "Please tell us why. Your feedback helps us improve YouTube. Remember, you can always return to the new design by going to "
}, {
"text": "youtube.com/new",
"navigationEndpoint": {
"commandMetadata": {
"webCommandMetadata": {
"url": "https://www.youtube.com/new"
}
},
"urlEndpoint": {
"url": "https://www.youtube.com/new"
}
}
}, {
"text": "."
}]
},
"options": [{
"polymerOptOutFeedbackOptionRenderer": {
"optionKey": "missing",
"description": {
"simpleText": "Something is missing"
},
"responsePlaceholder": {
"simpleText": "Tell us more"
}
}
}, {
"polymerOptOutFeedbackOptionRenderer": {
"optionKey": "broken",
"description": {
"simpleText": "Something is broken"
},
"responsePlaceholder": {
"simpleText": "Tell us more"
}
}
}, {
"polymerOptOutFeedbackOptionRenderer": {
"optionKey": "harder",
"description": {
"simpleText": "Something is harder to use"
},
"responsePlaceholder": {
"simpleText": "Tell us more"
}
}
}, {
"polymerOptOutFeedbackOptionRenderer": {
"optionKey": "dislike",
"description": {
"simpleText": "I don't like the new design"
},
"responsePlaceholder": {
"simpleText": "Tell us more"
}
}
}, {
"polymerOptOutFeedbackOptionRenderer": {
"optionKey": "unlisted",
"description": {
"simpleText": "My reason isn't listed"
},
"responsePlaceholder": {
"simpleText": "Tell us more"
}
}
}, {
"polymerOptOutFeedbackNullOptionRenderer": {
"description": {
"simpleText": "I prefer not to answer"
}
}
}],
"disclaimer": {
"runs": [{
"text": "Go to the "
}, {
"text": "Legal Help page",
"navigationEndpoint": {
"commandMetadata": {
"webCommandMetadata": {
"url": "https://support.google.com/youtube/bin/answer.py?answer=140536"
}
},
"urlEndpoint": {
"url": "https://support.google.com/youtube/bin/answer.py?answer=140536"
}
}
}, {
"text": " to request content changes for legal reasons. Your feedback, additional info, and email will be sent to Google. See "
}, {
"text": "Privacy Policy",
"navigationEndpoint": {
"commandMetadata": {
"webCommandMetadata": {
"url": "https://www.google.com/policies/privacy/"
}
},
"urlEndpoint": {
"url": "https://www.google.com/policies/privacy/"
}
}
}, {
"text": " and "
}, {
"text": "Terms of Service",
"navigationEndpoint": {
"commandMetadata": {
"webCommandMetadata": {
"url": "https://www.google.com/policies/terms/"
}
},
"urlEndpoint": {
"url": "https://www.google.com/policies/terms/"
}
}
}, {
"text": "."
}]
},
"dismissButton": {
"buttonRenderer": {
"style": "STYLE_BLUE_TEXT",
"size": "SIZE_DEFAULT",
"isDisabled": false,
"text": {
"simpleText": "No thanks"
}
}
},
"submitButton": {
"buttonRenderer": {
"style": "STYLE_BLUE_TEXT",
"size": "SIZE_DEFAULT",
"isDisabled": true,
"text": {
"simpleText": "Submit"
}
}
},
"closeButton": {
"buttonRenderer": {
"style": "STYLE_DEFAULT",
"size": "SIZE_DEFAULT",
"isDisabled": false,
"icon": {
"iconType": "CLOSE"
}
}
},
"cancelButton": {
"buttonRenderer": {
"style": "STYLE_BLUE_TEXT",
"size": "SIZE_DEFAULT",
"isDisabled": false,
"text": {
"simpleText": "Cancel"
}
}
}
}
}
}
},
"playabilityStatus": {
"status": "LIVE_STREAM_OFFLINE",
"reason": "This live event will begin in 15 hours.",
"playableInEmbed": true,
"liveStreamability": {
"liveStreamabilityRenderer": {
"videoId": "CFues4zhUW4",
"offlineSlate": {
"liveStreamOfflineSlateRenderer": {
"scheduledStartTime": "1551276000",
"mainText": {
"simpleText": "Live in 15 hours"
},
"subtitleText": {
"simpleText": "February 27, 6:00 AM PST"
},
"thumbnail": {
"thumbnails": [{
"url": "https://i.ytimg.com/vi/CFues4zhUW4/default.jpg?v=5c754214",
"width": 120,
"height": 90
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault_live.jpg?sqp=CODt1uMF-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ==\u0026rs=AOn4CLDbMU55oy6nLxdJSkGbpbI-fghl5Q",
"width": 168,
"height": 94
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault_live.jpg?sqp=CODt1uMF-oaymwEWCMQBEG5IWvKriqkDCQgBFQAAiEIYAQ==\u0026rs=AOn4CLAXKtqH_MgdRAAEs_v4C4wcwSYzAQ",
"width": 196,
"height": 110
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault_live.jpg?sqp=CODt1uMF-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLCTQKpVRxivImpT6YNDW0jtRT9JyA",
"width": 246,
"height": 138
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/mqdefault.jpg?v=5c754214",
"width": 320,
"height": 180
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault_live.jpg?sqp=CODt1uMF-oaymwEXCNACELwBSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBIDItAXoI5QnWUwOVjPTauDleGUw",
"width": 336,
"height": 188
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault.jpg?v=5c754214",
"width": 480,
"height": 360
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/sddefault.jpg?v=5c754214",
"width": 640,
"height": 480
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/maxresdefault.jpg?v=5c754214",
"width": 1920,
"height": 1080
}]
},
"actionButtons": [{
"toggleButtonRenderer": {
"isToggled": false,
"isDisabled": false,
"defaultIcon": {
"iconType": "NOTIFICATIONS_NONE"
},
"defaultText": {
"simpleText": "Set reminder"
},
"defaultServiceEndpoint": {
"clickTrackingParams": "CAIQ2TkYACITCLvg3vuy2uACFQFz4AodvzgEkSj4HTIDYWRkSO6ihee41uetCA==",
"commandMetadata": {
"webCommandMetadata": {
"url": "/service_ajax",
"sendPost": true
}
},
"addUpcomingEventReminderEndpoint": {
"params": "CgtDRnVlczR6aFVXNBAA"
}
},
"toggledIcon": {
"iconType": "NOTIFICATIONS_ACTIVE"
},
"toggledText": {
"simpleText": "Reminder on"
},
"toggledServiceEndpoint": {
"clickTrackingParams": "CAIQ2TkYACITCLvg3vuy2uACFQFz4AodvzgEkSj4HTIGcmVtb3ZlSO6ihee41uetCA==",
"commandMetadata": {
"webCommandMetadata": {
"url": "/service_ajax",
"sendPost": true
}
},
"removeUpcomingEventReminderEndpoint": {
"params": "CgtDRnVlczR6aFVXNA%3D%3D"
}
},
"trackingParams": "CAIQ2TkYACITCLvg3vuy2uACFQFz4AodvzgEkSj4HQ=="
}
}]
}
},
"pollDelayMs": "7500"
}
}
},
"videoDetails": {
"videoId": "CFues4zhUW4",
"title": "Pokémon Direct 2.27.2019",
"lengthSeconds": "0",
"keywords": ["nintendo", "play", "play nintendo", "game", "gameplay", "fun", "video game", "kids", "action", "adventure", "rpg"],
"channelId": "UCGIY_O-8vW4rfX98KlMkvRg",
"isOwnerViewing": false,
"shortDescription": "Subscribe for more Nintendo fun! https://goo.gl/HYYsot\n\nVisit Nintendo.com for all the latest! http://www.nintendo.com/\n\nLike Nintendo on Facebook: http://www.facebook.com/Nintendo\nFollow us on Twitter: http://twitter.com/NintendoAmerica\nFollow us on Instagram: http://instagram.com/Nintendo\nFollow us on Pinterest: http://pinterest.com/Nintendo\nFollow us on Google+: http://google.com/+Nintendo",
"isCrawlable": true,
"thumbnail": {
"thumbnails": [{
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault_live.jpg?sqp=CODt1uMF-oaymwEiCKgBEF5IWvKriqkDFQgBFQAAAAAYASUAAMhCPQCAokN4AQ==\u0026rs=AOn4CLDjqIgwbqlzxjhSd-4XCeyVfSkKmA",
"width": 168,
"height": 94
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault_live.jpg?sqp=CODt1uMF-oaymwEiCMQBEG5IWvKriqkDFQgBFQAAAAAYASUAAMhCPQCAokN4AQ==\u0026rs=AOn4CLA2ZsHHuI3LB55GGLKFuEZFhyuazQ",
"width": 196,
"height": 110
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault_live.jpg?sqp=CODt1uMF-oaymwEjCPYBEIoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\u0026rs=AOn4CLDx2RaghiNn-4ZAUTN8TDOyzjxkSQ",
"width": 246,
"height": 138
}, {
"url": "https://i.ytimg.com/vi/CFues4zhUW4/hqdefault_live.jpg?sqp=CODt1uMF-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=\u0026rs=AOn4CLDqMVgv11GOQnd6JBK7_rCySW8uDQ",
"width": 336,
"height": 188
}]
},
"isUpcoming": true,
"averageRating": 4.9841843,
"allowRatings": false,
"viewCount": "0",
"author": "Nintendo",
"isLowLatencyLiveStream": false,
"isPrivate": false,
"isUnpluggedCorpus": false,
"latencyClass": "MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL",
"isLiveContent": true
},
"trackingParams": "CAEQu2kiEwi74N77strgAhUBc-AKHb84BJEo-B0=",
"ibaDebugInfo": "IBA info:\nembed : False\ngap : False\niba_disabled_channel: False\niba_disabled_host : False\nk12 : False\nkids_app : False\npost_unicorn : False\nrelevant_ads_optout : False\nunicorn : False\n\n\nRemarketing info:\nFOC enabled by publisher : True\nRemarketing disabled channel by policy: False\nRemarketing disabled video by policy : False\nRemarketing enabled by publisher : True\nRemarketing ignore VIA for video : False\n\n\nAdSafetyExperienceReason:\napm_user_preference {\n allow_gaia_targeting_on_third_party_properties: OPTED_OUT_BY_USER\n}\nis_remarketing_enabled: true\nis_foc_enabled: true\n",
"adSafetyReason": {
"isRemarketingEnabled": true,
"isFocEnabled": true
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment