ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
OpenBullet

[OB] - F1TV CONFIG

Submitted by N3yko at 15-08-2021, 07:03 PM


.ANOM [OB] - F1TV CONFIG
8.056 Views
XTRON's Avatar'
XTRON
Offline
#31
15-08-2021, 07:03 PM N3yko Wrote:
You need HQ proxy :
thnxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
0
Reply
Pepeito010's Avatar'
Pepeito010
Offline
#32
Thanks great job
0
Reply
Mariano234's Avatar'
Mariano234
Offline
#33
thanks a lot
0
Reply
imaleex's Avatar'
imaleex
Offline
#34
Is this dead or working?
0
Reply
kmvdkvdk's Avatar'
kmvdkvdk
Offline
#35
15-08-2021, 07:03 PM N3yko Wrote:
wdwweYou need HQ proxy :
wewewewwwwww
0
Reply
Xander710's Avatar'
Xander710
Offline
#36
Thanks

let handleVideoInfo = function o(t){let e=window.location.href,o=window.location.host,r=[],i=new Set,l=new Set;const a=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;let d,u=[];const s={isMobile:function(){const t=navigator.userAgent;let e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],o=e.filter((e=>t.includes(e)));return!!o.length},queryURLParams:function(t,e){const o=new RegExp("[?&#]+"+e+"=([^?&#]+)"),r=o.exec(t);return r&&r[1]?r[1]:""},matchUrlInString:function(t){const e=new RegExp("(https?|http)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]","g"),o=t.match(e);return o&&o.length?o[0]:""},isURL:function(t){return!!t&&/^http[s]?:\/\/.*/.test(t)},completionSourceUrl:function(t){return t?(/^(f|ht)tps?:\/\//i.test(t)||(t=/^\/\//i.test(t)?window.location.protocol+t:window.location.origin+t),t):""},checkCharLengthAndSubStr:function(t,e=80){if(!t)return"";let o=t.replace(/[^x00-xff]/g,"01");return o.length<=e?t:t.substr(0,e)},getUrlPathName:function(t){let o="";o=this.isURL(t)?new URL(t).pathname:new URL(e).pathname;let r=o.split("/");return r=r.filter((t=>{if(t&&""!=t)return t})),r.pop()},generateUuid:function(t,e){t=t||32;let o,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];if(e=e||r.length,t)for(o=0;o<t;o++)n[o]=r[0|Math.random()*e];else{let t;for(n[8]=n[13]=n[18]=n[23]="_",n[14]="4",o=0;o<36;o++)n[o]||(t=0|16*Math.random(),n[o]=r[19==o?3&t|8:t])}return n.join("")}};function c(t){d=document.querySelectorAll("video");let e=d&&d.length;e||(d=document.querySelectorAll(".post-content shreddit-player"),e=d&&d.length),e?m(d):t&&p(),f()}function p(){for(let t=1;t<10;t++){let e;(function(t){e=setTimeout((()=>{d=document.querySelectorAll("video");let t=d&&d.length;t&&(m(d),u.forEach((t=>{clearTimeout(t)})))}),200*t)})(t),u.push(e)}}function f(){const t=new a((function(t){try{t.forEach((function(t){if(d=document.querySelectorAll("video"),"VIDEO"===t.target.nodeName&&d&&d.length)throw o=window.location.host,m(d),new Error("endloop")}))}catch(e){if("endloop"!==e.message)throw e}})),e={attributes:!0,childList:!0,characterData:!0,subtree:!0};t.observe(document,e)}function m(e){if(e&&e.length){let o=Array.from(e);if(o.forEach((t=>{if(!t||!(t instanceof HTMLElement))return;let e=t.getAttribute("stay-sniffing");e||(e=s.generateUuid(),t.setAttribute("stay-sniffing",e));let o=t.getAttribute("src");if(!o){let e=t.querySelector("source");e&&(t=e,o=e.getAttribute("src"))}if(!o)return;o=s.completionSourceUrl(o);let n=h(t);n.videoUuid=e,n.downloadUrl&&(l.size&&l.has(e)?r.forEach((t=>(t.videoUuid==e&&(t.downloadUrl=n.downloadUrl,t.poster=n.poster?n.poster:"",t.title=n.title,t.hostUrl=n.hostUrl,t.qualityList=n.qualityList?n.qualityList:[]),t))):(l.add(e),r.push(n)))})),window.postMessage({name:"VIDEO_INFO_CAPTURE",videoList:r}),t){let t={from:"sniffer",operate:"VIDEO_INFO_PUSH",videoInfoList:r};n.runtime.sendMessage(t,(t=>{}))}}}function h(t){let r={},n=t.getAttribute("poster"),i=t.getAttribute("title"),l=t.getAttribute("src"),a=[];if(e=window.location.href,l=s.completionSourceUrl(l),!n){let t=document.querySelector("source[type='image/webp'] img");n=t?t.getAttribute("src"):"",i||(i=t?t.getAttribute("alt"):"")}if(o.indexOf("youtube.com")>-1){const t=s.queryURLParams(e,"v");r=I(i,t)}else if(o.indexOf("baidu.com")>-1)r=_(t);else if(o.indexOf("bilibili.com")>-1)r=y(t);else if(o.indexOf("mobile.twitter.com")>-1)r=g(t);else if(o.indexOf("m.weibo.cn")>-1)r=w(t);else if(o.indexOf("iesdouyin.com")>-1)r=b(t);else if(o.indexOf("douyin.com")>-1){const e=window.location.pathname;r=e.indexOf("/video")>-1?v(t):S(t)}else o.indexOf("m.toutiao.com")>-1?r=U(t):o.indexOf("m.v.qq.com")>-1?r=q(t):o.indexOf("www.reddit.com")>-1?r=A(t):o.indexOf("pornhub.com")>-1&&(r=O(t));return r.downloadUrl&&(l=r.downloadUrl),l=s.completionSourceUrl(l),n||(n=r.poster),i||(i=r.title),r.qualityList&&r.qualityList.length&&(a=r.qualityList),i||(i=s.getUrlPathName(l)),n=s.completionSourceUrl(n),r["title"]=i,r["poster"]=n,r["downloadUrl"]=l,r["hostUrl"]=e,r["qualityList"]=a,r}function y(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");let o=document.querySelector(".main-container .ep-info-pre .ep-info-title");return o||setTimeout((function(){return o=document.querySelector(".video .share-video-info .title-wrapper .title-name span"),o&&(e.title=o.textContent),e}),200),o&&(e.title=o.textContent),e}function g(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");let o=t.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.nextElementSibling.childNodes[1];return o&&(o=o.querySelector(".css-1dbjc4n .r-92ivih.r-1t01tom .r-1t982j2.r-1j3t67a .css-1dbjc4n.r-1kw4oii a[data-testid='tweetText'] span"),o&&(e.title=s.checkCharLengthAndSubStr(o.textContent))),e}function w(t){let o={};return o.poster=t.getAttribute("poster"),o.downloadUrl=t.getAttribute("src"),e.match(/^.*\/detail\/.*/g)&&(o.title=s.checkCharLengthAndSubStr(document.querySelector(".weibo-main .weibo-text").textContent)),o}function b(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");let o=document.querySelector(".video-container img.poster");o&&(e.poster=o.getAttribute("src"));let r=document.querySelector(".desc .multi-line .multi-line_text");return r&&(e.title=r.textContent),e}function v(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");const o=document.querySelector("div[data-e2e=video-detail] div[data-e2e=detail-video-info] div h2");return o&&(e.title=o.textContent),e}function S(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");let o=t.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;if(o){let t=o.querySelector(".imgBackground img");t&&(e.poster=t.getAttribute("src"));let r=o.querySelector(".video-info-detail .title span.e_h_fqNj");r&&(e.title=r.textContent)}return e}function U(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");const o=document.querySelector(".video .xgplayer-placeholder .xgplayer-poster");if(o){let t=o.getAttribute("style");if(t){let o=s.matchUrlInString(t);e.poster=o}}const r=document.querySelector(".video .video-header .video-title-wrapper .video-title");return r&&(e.title=r.textContent),e}function q(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");const o=document.querySelector(".mod_play .player_container .txp_poster_img");if(o){let t=o.getAttribute("src");t=s.completionSourceUrl(t),e.poster=t}const r=document.querySelector(".mod_box .mod_bd .mod_video_info .video_title");if®{let t=r.textContent;t=t?t.trim():"";const o=document.querySelector(".mod_box .mod_bd .mod_list_slider .slider_box .item.current span");o&&(t+=o.textContent,t=t?t.trim():""),e.title=t}return e}function A(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");const o=document.querySelector("shreddit-app shreddit-title");return o&&(e.title=o.getAttribute("title")),e}function O(t){let e={};e.poster=t.getAttribute("poster"),e.downloadUrl=t.getAttribute("src");let o=t.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement;if(o&&o.classList.contains("playerWrapper")){const t=document.querySelector("#videoShow .categoryTags .headerWrap h1");if(t){let o=t.textContent;o&&(e.title=o.trim())}e.title||(e.title=window.VIDEO_SHOW?window.VIDEO_SHOW.videoTitle:"");const o=document.querySelector("#videoPlayerPlaceholder img.videoElementPoster");if(o&&(e.poster=o.getAttribute("src")),e.poster||(e.poster=window.VIDEO_SHOW?window.VIDEO_SHOW.videoImage:""),window.VIDEO_SHOW){let t=window.VIDEO_SHOW.playerId;if(t){let o=t.split("_");if(o.length>1){let t="flashvars_"+o[1],r=window[t].mediaDefinitions;if(r&&r.length){let t=[],o="";r.forEach((e=>{"hls"==e.format&&"string"==typeof e.quality&&t.push({downloadUrl:e.videoUrl,qualityLabel:e.quality,quality:Number(e.quality)}),"number"==typeof e.defaultQuality&&(o=e.defaultQuality)})),e["qualityList"]=t,t.length&&t.forEach((t=>{t.quality==o&&(e.downloadUrl=t.downloadUrl)}))}}}}return e}let r=t.parentNode.parentNode.parentNode.parentNode.parentNode;if(r&&"li"==r.tagName.toLowerCase()){let t=r.querySelector(".videoWrapper .singleVideo a img.videoThumb");if(t)return e.title=t.getAttribute("alt"),e.title&&(e.title="[Related videos] "+e.title),e.poster=t.getAttribute("src"),e}return e}function _(t){let n={};if("activity.baidu.com"===o){const t=window.PAGE_DATA;if(t&&t.pageData&&t.pageData.remote&&t.pageData.remote.mainVideoList&&t.pageData.remote.mainVideoList.length){const o=t.pageData.remote.mainVideoList[0],l=t.pageData.remote.moreVideoList;return n["title"]=o.title,n["poster"]=o.poster,n["downloadUrl"]=o.videoUrl,l&&l.length&&l.forEach((t=>{i.size&&i.has(t.videoUrl)||r.push({title:t.title,poster:t.poster,downloadUrl:t.videoUrl,hostUrl:e})})),n}n["title"]=L();const o=document.querySelector(".stickyBlock .curVideoPlay video");return o&&(n["poster"]=o.getAttribute("poster"),n["downloadUrl"]=o.getAttribute("src")),n}if("mbd.baidu.com"===o){const t=window.jsonData;if(t&&t.curVideoMeta){const e=t.curVideoMeta;if(n=E(e),n&&Object.keys(n).length)return n}return n["title"]=L(),n["poster"]=x(),n}if("haokan.baidu.com"===o){const o=window.__PRELOADED_STATE__,r=s.queryURLParams(e,"vid"),i=t.getAttribute("src");if(i&&r&&i.indexOf®>-1){if(o&&o.curVideoMeta){const t=o.curVideoMeta;if(n=E(t),n&&Object.keys(n).length)return n}n["title"]=L(),n["poster"]=x()}else n["title"]=t.parentElement.parentElement.querySelector("h3.land-recommend-bottom-title")?t.parentElement.parentElement.querySelector("h3.land-recommend-bottom-title").textContent:"",n["poster"]=t.parentElement&&t.parentElement.querySelector("img.video-img")?t.parentElement.querySelector("img.video-img").getAttribute("src"):"";return n}return"pan.baidu.com"===o&&(n["title"]=L()),n}function E(t){if(!t)return{};let e={};if(e["title"]=t.title,e["poster"]=t.poster,e["downloadUrl"]=t.playurl,t.clarityUrl&&t.clarityUrl.length){let o=[];const r=t.clarityUrl;r.forEach((t=>{t.vodVideoHW;o.push({downloadUrl:t.url,qualityLabel:t.title,quality:t.key})})),e["qualityList"]=o}return e}function x(){const t=document.querySelector(".art-player-wrapper .art-video-player .art-poster");if(t){let e=t.getAttribute("style");if(e)return s.matchUrlInString(e)}const e=document.querySelector("#bdMainPlayer .art-video-player .art-poster");if(e){let t=e.getAttribute("style");if(t)return s.matchUrlInString(t)}return""}function L(){const t=document.querySelector(".adVideoPageV3 .curVideoInfo h3.videoTitle");if(t)return t.textContent;const e=document.querySelector(".video-info .video-info-title");if(e)return e.textContent;const o=document.querySelector(".video-main .video-content .video-title .video-title-left");return o?o.textContent:""}function I(t,e){let o={};const r=window.ytInitialPlayerResponse;if(r&&r.videoDetails&&r.streamingData&&e===r.videoDetails.videoId){const e=r.videoDetails;let n=e.title?e.title:"";o["title"]=n;let i=e.thumbnail;if(i){let t=i.thumbnails;t&&t.length&&(o["poster"]=t.pop().url)}const l=r.streamingData,a=l.formats;if(t=t||"",a&&a.length&&t.replace(/\s+/g,"")===n.replace(/\s+/g,"")){let t=[],e=new Set;a.forEach((o=>{let r=o.mimeType;r.indexOf("video/mp4")>-1&&o.url&&!e.has(o.quality)&&(e.add(o.quality),t.push({downloadUrl:o.url,qualityLabel:o.qualityLabel,quality:o.quality}))})),t&&t.length&&(o["qualityList"]=t),o["downloadUrl"]=D()}else o["title"]=t||N(),o["downloadUrl"]=D(),o["poster"]=V()}else o={},o["title"]=t||N(),o["poster"]=V(),o["downloadUrl"]=D();return o}function D(){let t=document.querySelector(".html5-video-player .html5-video-container video");return t?t.getAttribute("src"):""}function N(){const t=document.querySelector(".slim-video-metadata-header .slim-video-information-content .slim-video-information-title");if(t)return t.textContent;const e=document.querySelector("#title h1.style-scope");return e?e.textContent:""}function V(){const t=document.querySelector(".ytp-cued-thumbnail-overlay-image");if(t){let e=t.getAttribute("style");if(e)return s.matchUrlInString(e)}const e=document.querySelector(".html5-video-player .ytp-cued-thumbnail-overlay .ytp-cued-thumbnail-overlay-image");if(e){let t=e.getAttribute("style");if(t)return s.matchUrlInString(t)}return""}function C(){function e(t){let e=/^(https?:\/\/|\/).*\.(mp4|m3u8)$/;return null!=t.match(e)}let o=new Set;XMLHttpRequest.prototype.reallyOpen=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(r,i,l,a,d){if(this.reallyOpen(r,i,l,a,d),e(i)&&!o.has(i)&&(o.add(i),window.postMessage({name:"VIDEO_LINK_CAPTURE",urls:o}),t)){let t={from:"sniffer",operate:"VIDEO_INFO_PUSH",videoLinkSet:o};n.runtime.sendMessage(t,(t=>{}))}};let r=window.fetch;window.fetch=function(i,l){let a="object"==typeof i?i.url:i;if(e(a)&&!o.has(a)&&(o.add(a),window.postMessage({name:"VIDEO_LINK_CAPTURE",urls:o}),t)){let t={from:"sniffer",operate:"VIDEO_INFO_PUSH",videoLinkSet:o};n.runtime.sendMessage(t,(t=>{}))}return r(i,l)}}c(!1),document.onreadystatechange=()=>{"complete"===document.readyState&&c(!0)},C()}

handleVideoInfo(false);
0
Reply
fedexx's Avatar'
fedexx
Offline
#37
thank you very much
0
Reply
omater's Avatar'
omater
Offline
#38
Thanks for this man
0
Reply
west675's Avatar'
west675
Offline
#39
ANK YOUU  LİK
0
Reply
misterwalden's Avatar'
misterwalden
Offline
#40
Thank you very much
0
Reply



Users browsing this thread: