知YOU视频VIP解析

解析各大视频网站VIP视频,支持优酷,爱奇艺,乐视,腾讯视频,土豆,芒果TV

目前为 2021-08-24 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name 知YOU视频VIP解析
  3. // @namespace https://github.com/hackerlengyue
  4. // @version 2.0.0
  5. // @icon https://gw.alicdn.com/tfs/TB1ZvwSycbpK1RjSZFyXXX_qFXa-48-48.ico
  6. // @description 解析各大视频网站VIP视频,支持优酷,爱奇艺,乐视,腾讯视频,土豆,芒果TV
  7. // @author hackerlengyue
  8. // @license MIT
  9. // @supportURL https://github.com/hackerlengyue
  10. // @match *://v.youku.com/v_*
  11. // @match *://m.youku.com/v*
  12. // @match *://m.youku.com/a*
  13. // @match *://*.iqiyi.com/v_*
  14. // @match *://*.iqiyi.com/w_*
  15. // @match *://*.iqiyi.com/a_*
  16. // @match *://*.iqiyi.com/dianying/*
  17. // @match *://*.le.com/ptv/vplay/*
  18. // @match *v.qq.com/x/cover/*
  19. // @match *v.qq.com/x/page/*
  20. // @match *v.qq.com/play*
  21. // @match *://*.tudou.com/listplay/*
  22. // @match *://*.tudou.com/albumplay/*
  23. // @match *://*.tudou.com/programs/view/*
  24. // @match *://*.mgtv.com/b/*
  25. // @match *://film.sohu.com/album/*
  26. // @match *://tv.sohu.com/*
  27. // @match *://vip.pptv.com/show/*
  28. // @match *://v.pptv.com/show/*
  29. // @match *://*.baofeng.com/play/*
  30. // @match *://v.yinyuetai.com/video/*
  31. // @match *://v.yinyuetai.com/playlist/*
  32. // @match *://vip.1905.com/play/*
  33. // @require https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
  34. // @run-at document-idle
  35. // @grant unsafeWindow
  36. // @grant GM_addStyle
  37. // ==/UserScript==
  38.  
  39. (function () {
  40. 'use strict';
  41.  
  42. GM_addStyle('.h-icon-play {color: #d926b5;fill: #d926b5;height: 80px;width: 80px;position: fixed;z-index: 99999;top: 0px;left: 0;cursor: pointer;} .h-ol {position: fixed;top: 30px;left: 20px;z-index: 99999;counter-reset: li;list-style: none;font-size: 8px;padding: 0;margin-bottom: 2em;text-shadow: 0 1px 0 rgba(255, 255, 255, .5);display: none;} .h-ol a {position: relative;display: block;padding: 3px 10px 3px 2em;margin: 0.5em 0;background: #ddd;color: #444;text-decoration: none;border-radius: 0.3em;transition: all 0.3s ease-out;} .h-ol a:hover {background: #eee;color: #ff6f5c;transition: all 0.3s ease-out;} .h-ol a::before {content: counter(li);counter-increment: li;position: absolute;left: -1.2em;top: 50%;margin-top: -1.2em;background: #87ceeb;height: 2em;width: 2em;line-height: 2em;border: 0.2em solid #fff;text-align: center;font-weight: bold;border-radius: 2em;}');
  43.  
  44. let api = [
  45. {"name":"蓝光1","url":"http://www.ikukk.com/?url="},
  46. {"name":"蓝光2","url":"https://play.dushe520.com/index.php?url="},
  47. {"name":"蓝光3","url":"https://jx.iztyy.com/svip/?url="},
  48. {"name":"蓝光4","url":"https://jx.m3u8.tv/jiexi/?url="},
  49. {"name":"高清1","url":"https://api.jiexi.la/?url="},
  50. {"name":"高清2","url":"https://www.playm3u8.cn/jiexi.php?url="},
  51. {"name":"高清3","url":"https://www.ckmov.vip/api.php?url="}, ];
  52.  
  53. let main = {
  54. showButton: function () {
  55. if (location.host.match(/youku|iqiyi|le|qq|tudou|mgtv|sohu|acfun|bilibili|pptv|baofeng|yinyuetai/ig)) {
  56. let mainButton = '<div class="h-icon-play" title="Click show resolve address"><svg viewBox="0 0 512 512"><path d="M422.6 193.6c-5.3-45.3-23.3-51.6-59-54 -50.8-3.5-164.3-3.5-215.1 0 -35.7 2.4-53.7 8.7-59 54 -4 33.6-4 91.1 0 124.8 5.3 45.3 23.3 51.6 59 54 50.9 3.5 164.3 3.5 215.1 0 35.7-2.4 53.7-8.7 59-54C426.6 284.8 426.6 227.3 422.6 193.6zM222.2 303.4v-94.6l90.7 47.3L222.2 303.4z"></path></svg></div>';
  57. let apiList = '<ol class="h-ol"></ol>';
  58. let github = '<iframe src="https://gf.qytechs.cn/zh-CN/users/704106&repo=media&type=star&count=true" frameborder="0" scrolling="0" style="height: 20px;max-width: 110px;padding: 0 5px;box-sizing: border-box;margin-top: 10px;"></iframe>';
  59.  
  60. $(top.document.body).append(mainButton);
  61. $(top.document.body).append(apiList);
  62.  
  63. api.forEach((val, index) => {
  64. $('.h-ol').append(`<li><a target="_blank" href="${val.url + encodeURI(location.href)}">${val.name}</a></li>`)
  65. });
  66. //Feedback button
  67. $('.h-ol').append(`<li><a target="_blank" style="color: #999;" href="https://gf.qytechs.cn/zh-CN/users/704106">Click on the feedback</a></li>`);
  68. $('.h-ol').append(github);
  69.  
  70. $(top.document.body).on('click', '.h-icon-play', () => {
  71. $('.h-ol').fadeToggle('fast');
  72. });
  73. }
  74. }
  75. };
  76.  
  77. $(function () {
  78. main.showButton();
  79. });
  80. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址