// ==UserScript== // @name 采集接口VIP视频通行证 // @namespace http://tampermonkey.net/lsym-pure-play-cn-fix-qq-ep // @version 4.6.5 // @description 视频VIP 影视vip 电影vip解析-----支持:腾讯、爱奇艺、优酷、芒果、pptv、乐视、bilibili等其它网站视频VIP解析,影视vip解析。 (强烈推荐用脚本猫加载此插件,资源搜索会快很多(请不要使用油猴加载此插件,会很慢)。大版本升级,修改操作简化,ui交换更智能,解析更快。) // @icon data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMzIiIGN5PSIzMiIgcj0iMzAiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcihfMV8yKSIvPgo8cGF0aCBkPSJNMjEuNDk2MSA0My4yODkxTDQwLjU2NDUgMzIuMjU3OEM0MS4zMDA1IDMxLjgwNjEgNDEuMzAwNSAzMC42NTQyIDQwLjU2NDUgMzAuMjAyNUwyMS40OTYxIDE5LjE3MTIiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iNCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXIoXzFfMikiIHgxPSIzMiIgeTE9IjIiIHgyPSIzMiIgeTI9IjYyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiMyQTc5RkYiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMTA1OUI5Ii8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg== // @author lsym // @license MIT // @match *://*.iqiyi.com/v_* // @match *://*.iqiyi.com/a_* // @match *://*.iqiyi.com/w_* // @match *://*.iq.com/play/* // @match *://v.youku.com/v_show/id_* // @match *://*.youku.com/v_show/id_* // @match *://v.qq.com/x/cover/* // @match *://v.qq.com/x/page/* // @match *://v.qq.com/tv/* // @match *://*.mgtv.com/b/* // @match *://*.bilibili.com/video/av* // @match *://*.bilibili.com/video/BV* // @match *://*.bilibili.com/bangumi/play/* // @match *://*.le.com/ptv/vplay/* // @match *://*.tudou.com/listplay/* // @match *://*.tudou.com/albumplay/* // @match *://*.tudou.com/programs/view/* // @match *://tv.sohu.com/v/* // @match *://film.sohu.com/album/* // @match *://*.pptv.com/show/* // @match *://*.acfun.cn/v/ac* // @match *://*.fun.tv/vplay/* // @match *://*.wasu.cn/Play/show/id/* // @match *://*.1905.com/play/* // @match *://*.ixigua.com/video/* // @match *://*.weibo.com/tv/show/* // @match *://*.weibo.com/v/tv/show/* // @grant GM_addStyle // @grant GM_xmlhttpRequest // @grant GM_setValue // @grant GM_getValue // @grant GM_registerMenuCommand // @run-at document-end // @connect collect.wolongzyw.com // @connect api.wujinapi.me // @connect cj.ffzyapi.com // @connect bfzyapi.com // @connect www.hongniuzy2.com // @connect api.ukuapi.com // @connect api.guangsuapi.com // @connect api.xinlangapi.com // @connect jszyapi.com // @connect hhzyapi.com // @connect 360zy.com // @connect subocaiji.com // @connect www.huyaapi.com // @connect api.apibdzy.com // @connect www.mdzyapi.com // @connect iqiyizyapi.com // @connect ikunzyapi.com // @connect jyzyapi.com // @connect mozhuazy.com // @connect api.zuidapi.com // @connect caiji.dyttzyapi.com // @connect * // @antifeature piracy // ==/UserScript== function _0x2ddf(_0x2845e6,_0x47b175){const _0x3d91ec=_0x3d91();return _0x2ddf=function(_0x2ddfcf,_0x4495cb){_0x2ddfcf=_0x2ddfcf-0x155;let _0x426874=_0x3d91ec[_0x2ddfcf];return _0x426874;},_0x2ddf(_0x2845e6,_0x47b175);}function _0x3d91(){const _0x58073c=['handleMessage','cursor','STORAGE_KEY_ICON_POSITION','.bpx-player-container','key','HLS_CONFIG','hidden','injectStyle','default','none','latency','isFirstAutoplayAttempted','init','toggle','\x27\x20},\x20\x27*\x27));\x20let\x20successSent\x20=\x20false;\x20dp.on(\x27timeupdate\x27,\x20()\x20=>\x20{\x20if\x20(!successSent\x20&&\x20dp.video.currentTime\x20>\x200.1)\x20{\x20successSent\x20=\x20true;\x20parent.postMessage({\x20type:\x20\x27','.title','get','results','className','tm_check_stuck_res','164RkBolo','tm_get_time_res','find','episode-list','closeBtn','status','currentEpisodeList','findAndPositionOverlay','250px','.tm-collection-btn[data-url=\x22','removeEventListener','playerStatus','scrollWidth','readyState','.tm-collection-btn','正在播放:\x20','querySelector','https://api.apibdzy.com/api.php/provide/vod/','forEach','qq.com','tm-close-btn-fusion','VIDEO_ENDED','scrollIntoView','findWebsitePlayerElement','×','hidePanel','content','createHTML','ms)','tm-player-overlay-fusion','MESSAGES','\x27\x20},\x20\x27*\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.destroy();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.recoverMediaError();\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','#xigua-player','classList','keys','iframePlayer','match','自动播放下集:\x20','#tm-status-bar','API\x20format\x20error','updateStatus','.video-title','postMessage','https://iqiyizyapi.com/api.php/provide/vod/','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls\x20=\x20new\x20Hls(','height','failedUrls','DOMContentLoaded','replace','min','close','getAttribute','clearTimer','.container-player','responseText','panelCollapse','电影天堂','searchSingleApi','div','getBoundingClientRect','.ep-list-item.on\x20.ep-item-title,\x20.bpx-player-sending-info\x20.bpx-player-video-title','$$$','#pp-player','origin','getCurrentEpisodeNumber','url','PLAYER_ELEMENTS','max','CHECK_STUCK_RES','appendChild','自动切换失败,请手动选择其他源','parse','assign','#player-container','startsWith','.video-area','length','onmouseenter','opacity','contentWindow','SEARCH_CONCURRENCY','.play-box','PRECISE_TITLE','visibility','手动清除接口缓存','button','type','LOAD_ERROR','isUserClosed','getQuickMainTitle','tvname','STUCK_CHECK_TIMEOUT','parentElement','ac=detail&ids=','https://ikunzyapi.com/api.php/provide/vod/','QUICK_TITLE','BODY','stringify','tm_play_success','error','https://www.huyaapi.com/api.php/provide/vod/','getElementById','activeSourceName','Request\x20timeout','未找到资源','
全网资源搜索中...
','meta[property=\x22og:title\x22]','https://api.wujinapi.me/api.php/provide/vod/','.video-name','pauseAndHideOriginalPlayer','onmouseleave','start','349668EvsIME','smooth','resolve','tm_load_error','SELECTORS','\x27)\x20{\x20parent.postMessage({\x20type:\x20\x27','ac=list&wd=','display','grabbing','.player-album-list\x20.on\x20a,\x20.c-info-title','mousedown','performApiSearch','90MWUsTh','updatePlayerStatus','tm-collection-btn','sessionCache','#f8d7da','[VIP修复]\x20从标题读取集数:','panel','some','#player_swf','add','list','https://api.xinlangapi.com/xinlangapi.php/provide/vod/','currentSearchId','CHECK_STUCK_REQ','Player\x20element\x20not\x20found.','2693658cUtzpH','#mgtv-player-wrap','blur','then','‹\x20返回源列表','9999','href','tm-episode-matched','PANEL_LEAVE_CLOSE_DELAY','dataset','all','playerOverlay','split','clientX','#player','race','.player-container','⚡\x20极速命中:\x20','currentPlayingUrl','textContent','offsetWidth','tm-panel-fusion','timers','tm-iframe-player-fusion','width','.iqp-player','https://collect.wolongzyw.com/api.php/provide/vod/at/json','510812oXpcjS','stopPropagation','srcdoc','tm-container-fusion','mainBtn','clear','正在急速加载资源...','observe','https://www.mdzyapi.com/api.php/provide/vod/','https://www.hongniuzy2.com/api.php/provide/vod/','title','\x20#tm-container-fusion\x20{\x20position:\x20fixed;\x20z-index:\x201000003;\x20width:\x2038px;\x20height:\x2038px;\x20text-align:\x20center;\x20cursor:\x20grab;\x20user-select:\x20none;\x20}\x20#tm-main-btn-fusion\x20{\x20width:\x20100%;\x20height:\x20100%;\x20border:\x20none;\x20border-radius:\x2050%;\x20background:\x20linear-gradient(135deg,\x20#FFD700,\x20#FFA500);\x20color:\x20white;\x20cursor:\x20pointer;\x20box-shadow:\x200\x204px\x208px\x20rgba(0,0,0,0.2);\x20transition:\x20all\x200.3s\x20ease;\x20padding:\x200;\x20display:\x20flex;\x20align-items:\x20center;\x20justify-content:\x20center;\x20overflow:\x20hidden;\x20}\x20#tm-main-btn-fusion:hover\x20{\x20transform:\x20scale(1.1);\x20box-shadow:\x200\x206px\x2012px\x20rgba(0,0,0,0.3);\x20}\x20#tm-main-btn-fusion::before\x20{\x20content:\x20\x22VIP\x22;\x20font-size:\x2016px;\x20font-weight:\x20bold;\x20color:\x20#fff;\x20text-shadow:\x200\x201px\x202px\x20rgba(0,0,0,0.2);\x20}\x20@keyframes\x20tm-spin\x20{\x20to\x20{\x20transform:\x20rotate(360deg);\x20}\x20}\x20#tm-main-btn-fusion.loading::before\x20{\x20content:\x20\x27\x27;\x20box-sizing:\x20border-box;\x20width:\x2020px;\x20height:\x2020px;\x20border-radius:\x2050%;\x20border:\x203px\x20solid\x20rgba(255,255,255,0.4);\x20border-top-color:\x20#fff;\x20animation:\x20tm-spin\x200.8s\x20linear\x20infinite;\x20}\x20#tm-panel-fusion\x20{\x20display:\x20none;\x20position:\x20absolute;\x20left:\x2048px;\x20top:\x200;\x20min-width:\x20150px;\x20background:\x20rgba(255,\x20255,\x20255,\x200.95);\x20border-radius:\x208px;\x20padding:\x205px;\x20max-height:\x2070vh;\x20box-shadow:\x200\x206px\x2020px\x20rgba(0,0,0,0.15);\x20font-size:\x2012px;\x20backdrop-filter:\x20blur(10px);\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.2);\x20flex-direction:\x20column;\x20}\x20#tm-status-bar\x20{\x20padding:\x204px;\x20margin-bottom:\x205px;\x20background:\x20#f1f3f5;\x20border-radius:\x206px;\x20text-align:\x20center;\x20font-weight:\x20500;\x20color:\x20#495057;\x20font-size:\x2011px;\x20min-height:\x2016px;\x20}\x20.tm-collection-btn\x20{\x20display:\x20block;\x20width:\x20100%;\x20padding:\x204px\x206px;\x20margin-bottom:\x204px;\x20background:\x20#fff;\x20border:\x201px\x20solid\x20#e9ecef;\x20border-radius:\x206px;\x20cursor:\x20pointer;\x20text-align:\x20left;\x20font-weight:\x20500;\x20color:\x20#495057;\x20font-size:\x2011px;\x20transition:\x20all\x200.2s\x20ease;\x20white-space:\x20nowrap;\x20box-sizing:\x20border-box;\x20}\x20.tm-collection-btn:hover\x20{\x20background:\x20#f8f9fa;\x20transform:\x20translateY(-1px);\x20}\x20.tm-episode-matched,\x20.tm-source-selected\x20{\x20background:\x20linear-gradient(135deg,\x20#28a745,\x20#20c997)\x20!important;\x20color:\x20white\x20!important;\x20border-color:\x20transparent\x20!important;\x20}\x20#tm-content-area\x20{\x20display:\x20grid;\x20grid-template-columns:\x201fr;\x20gap:\x204px;\x20flex-grow:\x201;\x20overflow-y:\x20auto;\x20padding-right:\x208px;\x20}\x20#tm-content-area.episode-list\x20{\x20grid-template-columns:\x201fr\x201fr;\x20}\x20#tm-content-area::-webkit-scrollbar\x20{\x20width:\x208px;\x20}\x20#tm-content-area::-webkit-scrollbar-track\x20{\x20background:\x20transparent;\x20}\x20#tm-content-area::-webkit-scrollbar-thumb\x20{\x20background:\x20#ccc;\x20border-radius:\x204px;\x20border:\x202px\x20solid\x20transparent;\x20background-clip:\x20content-box;\x20}\x20#tm-content-area::-webkit-scrollbar-thumb:hover\x20{\x20background:\x20#aaa;\x20}\x20#tm-player-overlay-fusion\x20{\x20position:\x20absolute;\x20background-color:\x20#000;\x20z-index:\x20999998;\x20display:\x20none;\x20}\x20#tm-iframe-player-fusion\x20{\x20width:\x20100%;\x20height:\x20100%;\x20border:\x20none;\x20}\x20#tm-close-btn-fusion\x20{\x20position:\x20fixed;\x20top:\x2015px;\x20right:\x2015px;\x20z-index:\x201000003;\x20width:\x2036px;\x20height:\x2036px;\x20border-radius:\x2050%;\x20background:\x20rgba(220,\x2053,\x2069,\x200.9);\x20color:\x20white;\x20border:\x20none;\x20cursor:\x20pointer;\x20font-size:\x2016px;\x20display:\x20flex;\x20align-items:\x20center;\x20justify-content:\x20center;\x20transition:\x20all\x200.3s\x20ease;\x20}\x20#tm-close-btn-fusion:hover\x20{\x20background:\x20#dc3545;\x20transform:\x20scale(1.1);\x20}\x20#tm-global-status\x20{\x20position:\x20fixed;\x20top:\x200;\x20left:\x200;\x20width:\x20100%;\x20text-align:\x20center;\x20z-index:\x201000002;\x20pointer-events:\x20none;\x20padding-top:\x2010px;\x20transition:\x20opacity\x200.3s;\x20opacity:\x200;\x20display:\x20none;\x20}\x20#tm-global-status-text\x20{\x20display:\x20inline-block;\x20background:\x20rgba(0,\x200,\x200,\x200.7);\x20color:\x20white;\x20padding:\x208px\x2016px;\x20border-radius:\x2020px;\x20font-size:\x2014px;\x20backdrop-filter:\x20blur(4px);\x20}\x20','map','top','\x27,\x20type:\x20\x27customVideo\x27,\x20customType:\x20{\x20customVideo:\x20(video,\x20player)\x20=>\x20{\x20','innerHTML','接口缓存已清除,\x20重新搜索...','tm_check_stuck_req','hiddenPlayerElement','pop','.txp_player_root','remove','delete','src','#sohuplayer','.video-info-title','result','robustRequest','onclick','toggleLoading','自动切换至:\x20','name','播放完毕','querySelectorAll','Player\x20did\x20not\x20resize\x20in\x20time','transition','tm-global-status-text','tm_icon_position_pure_v5_cn','left','loading','竞速搜索...\x20(','#343a40','#flashbox','源失效,切换线路...','Timeout\x20waiting\x20for\x20\x27','116769PVpwef','location','1884022RSgpcH','#f1f3f5','Request\x20failed:\x20','block','.js-episode-item.on,\x20.video-info\x20h1','.active\x20.title-wenzi','autoResizePanel','showPanel','onload','Mozilla/5.0','currentPageEpisodeNumber','visible','hostname','addEventListener','now','\x20}\x20}\x20}\x20});\x20dp.on(\x27loadedmetadata\x27,\x20function()\x20{\x20dp.play();\x20});\x20dp.on(\x27ended\x27,\x20()\x20=>\x20parent.postMessage({\x20type:\x20\x27','findIndex','http://caiji.dyttzyapi.com/api.php/provide/vod/','AUTOPLAY_NEXT_DELAY','currentURL','\x27,\x20time:\x20dp?.video.currentTime\x20||\x200\x20},\x20\x27*\x27);\x20}\x20});\x20});','clearAllTimers','initDraggableIcon','#tenvideo_player','addSourceResult','autoSwitchSource','initPlacement','has','backgroundColor','append','Player