豆瓣电影下载搜索和字幕搜索

在豆瓣电影的影评界面加入多个自己常用的影视下载搜索和字幕搜索链接!

  1. // ==UserScript==
  2. // @name 豆瓣电影下载搜索和字幕搜索
  3. // @namespace https://gf.qytechs.cn/zh-CN
  4. // @version 2.0
  5. // @author 花似
  6. // @web https://subei.me
  7. // @description 在豆瓣电影的影评界面加入多个自己常用的影视下载搜索和字幕搜索链接!
  8. // @include http://movie.douban.com/subject/*
  9. // @include https://movie.douban.com/subject/*
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. function
  14. run ()
  15.  
  16. {
  17. var movieTitle = $('h1 span:eq(0)').text();
  18. var title = $('html head title').text();
  19. var keyword1 = title.replace( '(豆瓣)', '' ).trim();
  20. var keyword2 = encodeURIComponent( keyword1 );
  21. var movieSimpleTitle = movieTitle.replace(/第\S+季.*/, "");
  22.  
  23.  
  24. var link = $("<div>").append($("<span>").attr("class", "pl").html("影视下载: "));
  25.  
  26.  
  27. var Movie_links =
  28. [
  29. { html: "疯狂影视搜索", href: "http://ifkdy.com/?q=" + keyword1 },
  30. { html: "胖鸟电影", href: "http://www.pniao.com/Mov/so/" + keyword1 },
  31. { html: "电影FM", href: "http://dianying.fm/search/?text=" + keyword1 },
  32. { html: "电影街", href: "https://moviejie.net/search/q_" + keyword1 },
  33. { html: "Neets", href: " http://neets.cc/search?key=" + keyword1 },
  34. { html: "低端影视", href: " http://ddrk.me/?s=" + keyword1 },
  35. ];
  36.  
  37. switch(location.host)
  38. {
  39. case "movie.douban.com":
  40. appendLinks(Movie_links, link);
  41.  
  42. link.append('<br>')
  43. .append('<span class="pl">在线观看: </span>')
  44. .append($("<a>").attr({href: "http://xlyy100.com/index.php?m=vod-search-pg-1-wd-" + keyword1,target: "_blank"}).html("降龙影院"))
  45. .append('<span class="pl"> / </span>')
  46. .append($("<a>").attr({href: "https://www.kankanwu.com/index.php?s=vod-search-wd-" + keyword1,target: "_blank"}).html("看看屋"))
  47. .append('<span class="pl"> / </span>')
  48. .append($("<a>").attr({href: "http://esyy007.com/index.php?m=vod-search-pg-1-wd-" + keyword1,target: "_blank"}).html("二十影院"))
  49. .append('<span class="pl"> / </span>')
  50. .append($("<a>").attr({href: "http://qukantv.net/index.php?m=vod-search-pg-1-wd-" + keyword1,target: "_blank"}).html("去看TV网"))
  51. .append('<span class="pl"> / </span>')
  52. .append($("<a>").attr({href: "https://www.lalilali.com/index.php?m=vod-search-pg-1-wd-" + keyword1,target: "_blank"}).html("拉里拉里"));
  53.  
  54. link.append('<br>')
  55. .append('<span class="pl">字幕下载: </span>')
  56. .append($("<a>").attr({href: "http://www.zimuzu.tv/search/index?search_type=&keyword=" + keyword1,target: "_blank"}).html("人人影视"))
  57. .append('<span class="pl"> / </span>')
  58. .append($("<a>").attr({href: "http://subhd.com/search/" + keyword1,target: "_blank"}).html("Sub HD字幕站"))
  59. .append('<span class="pl"> / </span>')
  60. .append($("<a>").attr({href: "http://www.zimuku.net/search?q=" + keyword1,target: "_blank"}).html("字幕库"))
  61. .append('<span class="pl"> / </span>')
  62. .append($("<a>").attr({href: "http://assrt.net/sub/?searchword=" + keyword1,target: "_blank"}).html("射手网(伪)"))
  63. .append('<span class="pl"> / </span>')
  64. .append($("<a>").attr({href: "http://www.163sub.com/Search?id=" + keyword1,target: "_blank"}).html("163字幕网"));
  65. break;
  66.  
  67. }
  68.  
  69. $('#info').append(link);
  70.  
  71.  
  72. function appendLinks(items, appendTo)
  73. {items.forEach
  74. (function(item, i)
  75. {$("<a>")
  76. .html(item.html)
  77. .attr({href: item.href,target: "_blank"})
  78. .appendTo(appendTo);
  79. if(i != items.length -1)
  80. {appendTo.append(" / ");}
  81. }
  82. );
  83. }
  84. }
  85.  
  86. run();

QingJ © 2025

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