Streamable Video Download Linker

This script will popup a javascript alert with the streamable video download link when visiting a streamable.com video.

目前为 2020-11-09 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Streamable Video Download Linker
  3. // @namespace http://ojighwr2reg46.co
  4. // @include https://streamable.com/*
  5. // @include https://*.streamable.com/*
  6. // @version 1
  7. // @description This script will popup a javascript alert with the streamable video download link when visiting a streamable.com video.
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. var S = document.getElementsByTagName("script");
  12. for (var x=0; x<S.length; x++) {
  13. if (S[x].getAttribute("id")) {
  14. if (S[x].getAttribute("id").match(/player\-js/) || S[x].getAttribute("id").match(/embed\-js/)) {
  15. var tc = S[x].textContent.toString();
  16. if (tc.length>1) {
  17. var js = tc.split("var videoObject = {")[1].split('"files": ')[1].split("}},")[0] + "}}";
  18. var json = eval(JSON.parse(js));
  19. var Dlink = "https:"+json.mp4.url;
  20. alert(Dlink);
  21. break;
  22. }
  23. }}
  24. }

QingJ © 2025

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