Netzflix video

get netzkino.de film url to watch it in vlc/mpc-hc or any other media player of your choice

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name Netzflix video
// @namespace Violentmonkey Scripts
// @description get netzkino.de film url to watch it in vlc/mpc-hc or any other media player of your choice
// @match https://www.netzkino.de/filme/*
// @grant none
// @version 0.0.1.20240827184826
// ==/UserScript==

$   = function(_) {return document.getElementById(_)}
  $tn = function(_) {return document.getElementsByTagName(_)}
  $cn = function(_) {return document.getElementsByClassName(_)}
  $qa = function(_) {return document.querySelectorAll(_)}
  $qs = function(_) {return document.querySelector(_)}

  var $_ = "getElementById";
  var $cn_ = "getElementsByClassName";
  var $tn_ = "getElementsByTagName";
  var ih_ = "innerHTML";
  var it_ = "innerText";
  var ga_ = "getAttribute";

window.addEventListener('load',
  function() {

    $tn("body")[0].onclick = function() {

      $tn("body")[0].onclick = function() {}

      var favicon = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16'%3E%3Crect fill='%237f0000' height='14' ry='1' stroke='%23fff' stroke-width='.2' width='14' x='1' y='1'/%3E%3Cpath d='m9.2 10.8h-1.2v-4.4c-.4.4-.9.7-1.5.9v-1c.3-.1.6-.3 1-.6s.6-.6.7-1h1z' fill='%23fff' stroke='%23000' stroke-width='.2'/%3E%3Cpath d='m13.5 8c0 3-2.5 5.5-5.5 5.5s-5.5-2.5-5.5-5.5 2.5-5.5 5.5-5.5 5.5 2.5 5.5 5.5z' fill='none' stroke='%237f7f7f' stroke-width='.3'/%3E%3C/svg%3E";
      var link = document.querySelector("link[rel~='icon']");
      if (!link) {
        link = document.createElement('link');
        link.rel = 'icon';
        document.head.appendChild(link);
      }
      link.href = favicon;

      var scriptname = "Netzflix video";

      var nfsvg = '<span><svg height="32" width="128" viewBox="0 0 512 128"><path d="m17.4 9.4v100.8c10.9-3.1 22.5-6 34.7-8.6 0-.1.1-.2.3-.4.4-.4 1-.4 1.2-.4.3.1.4.1.5.2s.2.1.3.2c52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9.1 1.4 7.1zm61.6-5.7c0-.7-.2-.8-.8-.6-.4.3-.6 1-.3 1.4.3.2 1.1-.4 1.1-.8z" fill="#000100"/><path d="m370-96.6h2.1v.4h-2.1z" fill="#800000"/></svg></span>';

      var search = '&nbsp;<a href="/search">Suchen...</a>'; 
      $qa("h1")[0].style.display = "none";
      $qa("h1")[0].style.visibility = "hidden";

      var buttonclass = ".css-175oi2r.r-18u37iz.r-1awozwy.r-k200y.r-1w6e6rj.r-1h0z5md.r-15d164r.r-61z16t.r-1mnahxq";

      if ($qa(buttonclass)[0][$tn_]("a").length == 2) {
        $qa(buttonclass)[0][$tn_]("a")[1].style.display = "none";
        $qa(buttonclass)[0][$tn_]("a")[1].style.visibility = "hidden";
        $qa(buttonclass)[0][$tn_]("a")[0][$tn_]("div")[1].innerText = "Play";
      } else if ($qa(buttonclass)[0][$tn_]("a").length == 1) {
        $qa(buttonclass)[0][$tn_]("a")[0].style.display = "none";
        $qa(buttonclass)[0][$tn_]("a")[0].style.visibility = "hidden";

      }

      var scriptEl = $("__NEXT_DATA__");
      var schemaObj = JSON.parse(scriptEl.innerHTML);
      var potentialslug = schemaObj.props.pageProps.potentialSlug;
      var filmid = schemaObj.props.apolloState.ROOT_QUERY['cmsMovieBySlug({\"slug\":\"'+potentialslug+'\"})'].id;
      var hlsurl = schemaObj.props.apolloState['$'+ filmid +'.videoSource'].hlsUrl;
      var dldurl = schemaObj.props.apolloState['$'+ filmid +'.videoSource'].pmdUrl;
      var origtitle = schemaObj.props.apolloState[filmid].originalTitle;

    var prefixdld = window.RUNTIME_CONFIG.CDN_PREFIX_PMD;
    var prefixhls = window.RUNTIME_CONFIG.CDN_PREFIX_HLS;

    var stream = "";
      var buttons = $qa(buttonclass)[0].innerHTML;
    if (hlsurl != "") {
      stream = '<a id="stream" aria-label="URL" role="link" class="css-175oi2r" style="cursor: pointer; opacity: 1; min-width: 165px; margin-right: 10px; margin-top: 10px;"><div class="css-175oi2r r-cdmcib r-rs99b7 r-18u37iz r-1j3t67a r-1w50u8q r-1awozwy r-1777fci" style="background-color: rgb(0, 115, 153); border-color: rgba(0, 153, 204, 0.5); min-height: 42px;"><div dir="auto" class="css-1rynq56 r-jwli3a r-1b43r93 r-1j9qmex r-13uqrnb r-b88u0q r-q4m81j r-lrvibr" style="text-transform: none;" tabindex="-1">Stream</div></div></a>';
    }

      var download = '<a id="download" aria-label="URL" role="link" class="css-175oi2r" style="cursor: pointer; opacity: 1; min-width: 165px; margin-right: 10px; margin-top: 10px;"><div class="css-175oi2r r-cdmcib r-rs99b7 r-18u37iz r-1j3t67a r-1w50u8q r-1awozwy r-1777fci" style="background-color: rgb(0, 115, 153); border-color: rgba(0, 153, 204, 0.5); min-height: 42px;"><div dir="auto" class="css-1rynq56 r-jwli3a r-1b43r93 r-1j9qmex r-13uqrnb r-b88u0q r-q4m81j r-lrvibr" style="text-transform: none;" tabindex="-1">Download/Stream</div></div></a>';
      $qa(buttonclass)[0].innerHTML = download + buttons;

      var imdbsvg = '<span><svg height="20" width="34" viewBox="0 5 64 16"><rect fill="#f5c518" height="32" rx="4" width="64"/><path d="m8 7v18h5v-18zm7 0v18h4.25v-11.875l1.78125 11.875h3.03125l1.6875-12.15625.03125 12.15625h4.21875v-18h-6.3125l-1.125 8.40625-.71875-4.5625c-.2015908-1.46493163-.3773656-2.75199879-.5625-3.84375zm17 0v18h7.8125c1.7671031 0 3.1875-1.43311 3.1875-3.1875v-11.625c0-1.75666009-1.4227064-3.1875-3.1875-3.1875zm13 0v17.78125h4.46875l.3125-1.125c.5884049.8053879 1.5578038 1.34375 2.65625 1.34375h.3125c1.7956636 0 3.25-1.3919253 3.25-3.125v-7.21875c0-1.73219176-1.4548082-3.15625-3.25-3.15625h-.3125c-1.0747565 0-2.0380781.51087183-2.65625 1.28125v-5.78125zm-8.3125 3.09375c.5518634 0 .957924.04905988 1.15625.15625.2026373.10719012.3189514.26973974.375.5s.09375.74864909.09375 1.5625v6.96875c0 1.1989413-.0818541 1.9487897-.25 2.21875-.1681459.2739303-.6463678.40625-1.375.40625zm13.84375 4.1875c.2639059 0 .6557478.1308602.75.34375.0942522.21288983.125.70151132.125 1.40625v4.25c0 .8038426-.0420582 1.3220307-.125 1.53125-.0829419.2092193-.4785537.3125-.75.3125-.2714464 0-.6595179-.1069512-.75-.3125v-1.40625-4.375-1.4375c.0791718-.18719623.4860938-.3125.75-.3125z"/></svg></span>',
        imdbprefix = '<a href="https://www.imdb.com/find/?q=',
        imdbsuffix = '" target="somenewwindow">' + imdbsvg + '</a> ';

      if (origtitle == "id") {

        var origtitle = $qs('meta[name="og:title"]').content;

        myregex = new RegExp(' - .*', "gi");
        origtitle = origtitle.replace(myregex, "");

      } else if  (origtitle == undefined) {

        origtitle = schemaObj.props.apolloState[filmid].title;

      }

      var otclass = ".css-1rynq56.r-jwli3a.r-1b43r93.r-1j9qmex.r-13uqrnb.r-b88u0q.r-15d164r";
      $qa(otclass)[0].innerHTML = imdbprefix + origtitle + imdbsuffix + " " + origtitle;

      var checkorigtitle = origtitle.toLowerCase()
          .replace(/-/g, " ")
          .replace(/  /g, " ")
          .replace(/ä/g, "a")
          .replace(/ü/g, "u")
          .replace(/ö/g, "o")
          .replace(/ß/g, "ss")
          .replace(/é/g, "e")
          .replace(/ñ/g, "n")
          .replace(/the | uncut| hd| 3d| 4k|\!|\&|\.|\,|\:|\;|\'|\"/g, "");

      var checkdttitle = schemaObj.props.apolloState[filmid].title.toLowerCase()
          .replace(/-/g, " ")
          .replace(/  /g, " ")
          .replace(/ä/g, "a")
          .replace(/ü/g, "u")
          .replace(/ö/g, "o")
          .replace(/ß/g, "ss")
          .replace(/é/g, "e")
          .replace(/ñ/g, "n")
          .replace(/the | uncut| hd| 3d| 4k|\!|\&|\.|\,|\:|\;|\'|\"/g, "");

      var myregex = new RegExp(" – .*", "gi");
      checkdttitle = checkdttitle.replace(myregex, "");
      checkorigtitle = checkorigtitle.replace(myregex, "");
      myregex = new RegExp(" - .*", "gi");
      checkdttitle = checkdttitle.replace(myregex, "");
      checkorigtitle = checkorigtitle.replace(myregex, "");
      myregex = new RegExp(": .*", "gi");
      checkdttitle = checkdttitle.replace(myregex, "");
      checkorigtitle = checkorigtitle.replace(myregex, "");

      document.title = scriptname + ": " + origtitle;

      $("download").href = prefixdld + dldurl + "#" + checkorigtitle;

      if (checkdttitle != checkorigtitle) {
      document.title += " (" + schemaObj.props.apolloState[filmid].title + ")";
      }

      var infobox = $("metaInfoCollapsible").innerHTML;
      $("metaInfoCollapsible").innerHTML = '<div class="css-175oi2r r-14qjzug r-bgnin r-13qz1uu r-jgcjvd"><a href="https://www.netzkino.de/">' + nfsvg + "</a><br />" + search + "</div>" + infobox;

      var bare = document.getElementsByClassName("css-175oi2r.r-16y2uox.r-1pi2tsx.r-13qz1uu")[0].innerHTML;
      $tn("body")[0].innerHTML = bare;

    }

  },
  false);

setTimeout('document.getElementsByTagName("body")[0].click()', 1500);