// ==UserScript== // @name VIP视频全网解析 (Pro版) // @namespace https://scriptcat.org/zh-CN/script-show-page/4339 // @version 5.0.2 // @description 视频VIP 影视vip 电影vip解析-----支持:腾讯、爱奇艺、优酷、芒果、pptv、乐视、bilibili等其它网站视频VIP解析,影视vip解析。 强烈推荐用脚本猫加载此插件,资源搜索会快很多(请不要使用油猴加载此插件,会很慢)。(如果自动选择的播放源,不理想,卡顿,或不播放,声音不对,请手动点击黄色vip图标切换播放源,40多个源,一定有你需要的), // @icon data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI1MCIgZmlsbD0iI0ZGRDcwMCIvPjx0ZXh0IHg9IjUwIiB5PSI3MCIgZm9udC1zaXplPSI1MCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIiBmb250LXdlaWdodD0ibjkwMCI+VklQPC90ZXh0Pjwvc3ZnPg== // @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 lz.118318.xyz // @connect api.maoyanapi.top // @connect pg.cttv.vip // @connect pg.fenwe078.cf // @connect www.lovedan.net // @connect www.inmi.app // @connect www.wyvod.com // @connect ddmf.net // @connect dh.ha.cn // @connect api.xinlangapi.com // @connect app.bfzyapi.com // @connect p2100.net // @connect bfzyapi.com // @connect api.yzzy-api.com // @connect caiji.dbzy.tv // @connect cj.lziapi.com // @connect api.ffzyapi.com // @connect api.zuidapi.com // @connect caiji.kuaichezy.org // @connect ckzy.me // @connect ikunzyapi.com // @connect api.apibdzy.com // @connect 360zy.com // @connect cj.rycjapi.com // @connect mozhuazy.com // @connect www.huyaapi.com // @connect www.hongniuzy2.com // @connect api.ukuapi88.com // @connect suoniapi.com // @connect xsd.sdzyapi.com // @connect www.seacms.org // @connect collect.wolongzy.cc // @connect api.wujinapi.me // @connect img.smdyw.top // @connect hhzyapi.com // @connect caiji.maotaizy.cc // @connect api.niuniuzy.me // @connect savviuux.hk3.345888.xyz.cdn.cloudflare.net // @connect tyyszyapi.com // @connect cj.ffzyapi.com // @connect collect.wolongzyw.com // @connect api.ukuapi.com // @connect api.guangsuapi.com // @connect jszyapi.com // @connect subocaiji.com // @connect www.mdzyapi.com // @connect iqiyizyapi.com // @connect jyzyapi.com // @connect caiji.dyttzyapi.com // @connect * // @antifeature piracy // ==/UserScript== function _0x3d5b(){const _0x52c6a5=['#c82333','https://www.seacms.org/api.php/provide/vod/','https://pg.fenwe078.cf/api.php/provide/vod/','getBoundingClientRect','AUTO_EXPAND_BEST_SOURCE','#bilibili-player','tm-source-selected','Timeout\x20waiting\x20for\x20\x27','find','sessionCache','tm-container-fusion','https://api.wujinapi.me/api.php/provide/vod/','resize','tm-close-btn-fusion','.video-name','.player-container','tm_check_stuck_req','type','tm-panel-fusion','hostname','16120jHqXpy','addEventListener','getElementById','http://caiji.dyttzyapi.com/api.php/provide/vod/','failedUrls','color','tm_video_ended','DOMContentLoaded','7839000QDgZzc','','catch','tm_check_stuck_res','replace','renderInitialPanel','none','activeSourceName','add','#player-container','.episode-list\x20.current,\x20.video-title\x20a','initDraggableIcon','about:blank','\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autoplay:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autoSize:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fullscreen:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pip:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20screenshot:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setting:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flip:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20playbackRate:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aspectRatio:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20theme:\x20\x27#FFD700\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lang:\x20\x27zh-cn\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20miniProgressBar:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20moreVideoAttr:\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\x27playsinline\x27:\x20true,\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\x27webkit-playsinline\x27:\x20true,\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\x27x5-video-player-type\x27:\x20\x27h5\x27,\x0a\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\x20customType:\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\x20m3u8:\x20function\x20(video,\x20url,\x20art)\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\x20if\x20(Hls.isSupported())\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\x20\x20\x20\x20\x20const\x20hls\x20=\x20new\x20Hls(','min','.tm-episode-matched','.tm-collection-btn[data-url=\x22','removeEventListener','https://suoniapi.com/api.php/provide/vod/','#tm-status-bar','CHECK_STUCK_REQ','offsetHeight','tm-iframe-player-fusion','title','textContent','$$$','ac=detail&ids=','\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}\x0a\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\x20art.on(\x27ready\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.video.style.objectFit\x20=\x20\x27contain\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.play();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20确保宽高为100%,不使用autoSize\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.video.style.width\x20=\x20\x27100%\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.video.style.height\x20=\x20\x27100%\x27;\x0a\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\x20window.addEventListener(\x27message\x27,\x20e\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(e.data?.type\x20===\x20\x27','time','center','block','playerStatus','clearTimer','#ACPlayer','container','race','renderSourceListFromCache','API\x20format\x20error','scrollIntoView','飘零2','height','addSourceResult','length','location','robustRequest','toggleLoading',');\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.loadSource(url);\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.attachMedia(video);\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.on(Hls.Events.ERROR,\x20function\x20(event,\x20data)\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\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(data.fatal)\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\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(data.type\x20===\x20Hls.ErrorTypes.NETWORK_ERROR)\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\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20parent.postMessage({\x20type:\x20\x27','.js-episode-item.on,\x20.video-info\x20h1','https://360zy.com/api.php/provide/vod/','STUCK_CHECK_TIMEOUT','autoSwitchSource','https://www.inmi.app/api.php/provide/vod/','pauseAndHideOriginalPlayer','default','measureConnectionLatency','PLAY_SUCCESS','currentPlayingUrl','log','\x27\x20},\x20\x27*\x27);\x0a\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\x20let\x20successSent\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.on(\x27video:timeupdate\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!successSent\x20&&\x20art.video.currentTime\x20>\x200.1)\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\x20successSent\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20parent.postMessage({\x20type:\x20\x27','tm_icon_position_pure_v5_cn','#tm-content-area','https://www.wyvod.com/api.php/provide/vod/','2325674YBfQUM','#player_swf','findAndPositionOverlay','#flashbox','mainBtn','https://ckzy.me/api.php/provide/vod/','STORAGE_KEY_ICON_POSITION','data','substring','ac=list&wd=','includes','tm-global-status-text','currentSearchId','createElement','https://www.lovedan.net/api.php/provide/vod/','all','.player-album-list\x20.on\x20a,\x20.c-info-title','href','#video-player','muted','currentURL','极速竞速中...','.tm-collection-btn','onload','div','forEach','tm_get_time_req','autoResizePanel','left','[VIP]\x20无法自动定位原播放器,使用居中保底模式','appendChild','Player\x20did\x20not\x20resize\x20in\x20time','tm-main-btn-fusion','#xigua-player','panelCollapse','[VIP]\x20目标集数:','src','push','content','JSON\x20parse\x20error','checkPageVisibility','未找到资源','globalStatus','delete','remove','tm_get_time_res','values','正在建立安全连接...','127510VXEIxo','#343a40','keys','源失效,切换线路...','360','checkStuckStatus','#sohuplayer','results','https://api.niuniuzy.me/api.php/provide/vod/','size','updateStatus','initPlacement','getEpisodeNumberFromString','https://hhzyapi.com/api.php/provide/vod','start','video','.video-title','close','https://xsd.sdzyapi.com/api.php/provide/vod/','6344100aGDFeu','onmouseleave','https://api.yzzy-api.com/inc/apijson.php?ac=list','MESSAGES','message','.video-area','80%','tagName','2345792eldbdq','closeBtn','https://www.hongniuzy2.com/api.php/provide/vod/','\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\x20time:\x20art.video.currentTime\x20||\x200\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\x27*\x27);\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\x20\x20\x20\x20});\x0a\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\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','a,\x20.item,\x20li,\x20[role=\x22button\x22]','7ynlZLO','tvname','PRECISE_TITLE','HLS_CONFIG','innerHTML','isUserClosed','blur','mousemove','searchSingleApi','now','updatePlayerStatus','querySelectorAll','timers','width','瀑布盘','playerOverlay','tm_load_error','currentEpisodeList','list','currentPageEpisodeNumber','latency','全网资源极速加载中...','.active\x20.title-wenzi','map','closest','#tenvideo_player','https://bfzyapi.com/api.php/provide/vod/','get','classList','\x27)\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\x20parent.postMessage({\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\x20type:\x20\x27','episode-list','parentElement','some','qq.com','https://api.ukuapi.com/api.php/provide/vod/','split','opacity','tm-player-overlay-fusion','https://cj.ffzyapi.com/api.php/provide/vod/','getQuickMainTitle','handleMessage','test','https://subocaiji.com/api.php/provide/vod/','asyncPool','ms)','renderEpisodeList','https://mozhuazy.com/api.php/provide/vod/','http://savviuux.hk3.345888.xyz.cdn.cloudflare.net/api.php/provide/vod/','status','https://api.xinlangapi.com/xinlangapi.php/provide/vod/','clientY','updateOverlayPosition','attemptToPlay','panel','pop','stopPropagation','竞速搜索...\x20(','responseText','masterSearch','target','querySelector','#le_player','150px','resolve','⚡\x20极速命中:\x20','disconnect','Request\x20failed:\x20','50%','.play-box','contentWindow','播放无响应,自动切换线路...','×','vod_id','innerWidth','20px','VIDEO_URL_PATTERNS','CHECK_STUCK_RES','body','top','iqiyi','https://ikunzyapi.com/api.php/provide/vod','has','\x20个资源\x20(缓存)','onclick','mouseup','name','isFirstAutoplayAttempted','.qy-episode-item[class*=\x22is-active\x22]\x20a,\x20.album-list\x20.is-active\x20.title-content,\x20[class*=\x22video-title_text\x22]','paused','showPanel','attachEventListeners','getAttribute','2147483646','4FZodZb','_t=','findIndex','assign','waitForElement','hidePanel','4188222srJNJS','match','getCurrentEpisodeNumber','2853EdvMMK','SELECTORS','contains','GET','userSelect','findWebsitePlayerElement','所有源已尝试,请手动切换或刷新','dataset','tm-collection-btn','iframePlayer','stuck','startsWith','.title','from','\x0a\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\x0a\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\x20VIP\x20Play\x0a\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\x0a\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\x0a\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\x0a\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