Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script >
- (function() {
- var setFiller = function() {
- var fillerData = {
- browse: {
- filler: true,
- page: 'browse'
- },
- home: {
- filler: true,
- page: 'home',
- endpoint: {
- commandMetadata: {
- webCommandMetadata: {
- url: "/",
- webPageType: "WEB_PAGE_TYPE_BROWSE"
- }
- },
- urlEndpoint: {
- url: "/"
- }
- },
- response: {
- contents: {
- twoColumnBrowseResultsRenderer: {
- tabs: [{
- tabRenderer: {
- selected: true,
- content: {
- richGridRenderer: {
- contents: [],
- continuations: [{
- nextContinuationData: {continuation: ''}
- }]
- }
- }
- }
- }]
- }
- }
- }
- },
- search: {
- filler: true,
- page: 'search',
- endpoint: {
- commandMetadata: {
- webCommandMetadata: {
- url: "/results",
- webPageType: "WEB_PAGE_TYPE_SEARCH"
- }
- },
- urlEndpoint: {
- url: "/results"
- }
- },
- response: {
- contents: {
- twoColumnSearchResultsRenderer: {
- primaryContents: {
- sectionListRenderer: {
- contents: [],
- subMenu: {
- searchSubMenuRenderer: {}
- }
- }
- },
- secondaryContents: {
- secondarySearchContainerRenderer: {
- contents: []
- }
- }
- }
- }
- }
- },
- watch: {
- filler: true,
- page: 'watch',
- endpoint: {
- commandMetadata: {
- webCommandMetadata: {
- url: "/watch",
- webPageType: "WEB_PAGE_TYPE_WATCH"
- }
- },
- urlEndpoint: {
- url: "/watch"
- }
- },
- playerResponse: {
- playabilityStatus: {
- status: 'OK'
- }
- },
- response: {
- contents: {
- twoColumnWatchNextResults: {
- results: {
- results: {
- contents: [{
- videoPrimaryInfoRenderer: {},
- videoSecondaryInfoRenderer: {}
- }]
- }
- },
- secondaryResults: {
- secondaryResults: {}
- }
- }
- }
- }
- }
- };
- window.ytcfg.set('FILLER_DATA', fillerData);
- };
- window.getPageData = function() {
- if (window.ytcsi) {window.ytcsi.tick("pr", null, '');}
- var endpoint = null;
- endpoint = {"commandMetadata":{"webCommandMetadata":{"url":"/watch?v=w3N5jVCh9sw","webPageType":"WEB_PAGE_TYPE_UNKNOWN","rootVe":83769}},"urlEndpoint":{"url":"/watch?v=w3N5jVCh9sw"}};
- var data = {
- page: "watch",
- player: ytplayer.config,
- playerResponse: window.ytInitialPlayerResponse,
- url: "\/watch?v=w3N5jVCh9sw",
- response: window.ytInitialData,
- endpoint: endpoint
- };
- return {
- data: data,
- endpoint: endpoint
- };
- };
- if (window.loadDataHook) {
- var pageData = window.getPageData();
- window.loadDataHook(pageData.endpoint, pageData.data);
- window.loadDataHook = null;
- }
- setFiller();
- })();
- var meta = document.createElement('meta');
- meta.name = 'referrer';
- meta.content = 'origin-when-cross-origin';
- document.getElementsByTagName('head')[0].appendChild(meta);
- </script>
- <script >if (window.ytcsi) {window.ytcsi.info("st", 568, '');}</script></body></html>
Add Comment
Please, Sign In to add comment