- ID scansione:
- a5666acd-4e1a-459f-bdd3-053ffd35b06dFatto
- URL inviato:
- https://torrentio.strem.fun/configure
- Report terminato:
Link · 6 trovati
I link in uscita identificati dalla pagina
Link | Testo |
---|---|
https://real-debrid.com/apitoken | here |
https://alldebrid.com/apikeys | here |
https://www.premiumize.me/account | here |
https://debrid-link.fr/webapp/apikey | here |
https://offcloud.com/#/account | here |
https://app.put.io/oauth | here |
Variabili JavaScript · 10 trovate
Le variabili JavaScript globali caricate sull'oggetto finestra di una pagina sono variabili dichiarate all'esterno delle funzioni e accessibili da qualsiasi punto del codice nell'ambito corrente
Nome | Tipo |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
$ | function |
jQuery | function |
Popper | function |
bootstrap | object |
sortModeChange | function |
debridProvidersChange | function |
generateInstallLink | function |
Messaggi di log della console · 0 trovati
Messaggi registrati nella console Web
HTML
Il corpo HTML non elaborato della pagina
<!DOCTYPE html><html style="background-image: url(https://i.ibb.co/VtSfFP9/t8wVwcg.jpg);"><head>
<meta charset="utf-8">
<title>Torrentio - Stremio Addon</title>
<link rel="shortcut icon" href="https://i.ibb.co/w4BnkC9/GwxAcDV.png" type="image/x-icon">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.6.4.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/1.1.2/js/bootstrap-multiselect.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/1.1.2/css/bootstrap-multiselect.css" rel="stylesheet">
<style>
* {
box-sizing: border-box;
}
body,
html {
margin: 0;
padding: 0;
width: 100%;
height: 100%
}
html {
background-size: auto 100%;
background-size: cover;
background-position: center center;
background-repeat: repeat-y;
}
body {
display: flex;
background-color: transparent;
font-family: 'Open Sans', Arial, sans-serif;
color: white;
}
h1 {
font-size: 4.5vh;
font-weight: 700;
}
h2 {
font-size: 2.2vh;
font-weight: normal;
font-style: italic;
opacity: 0.8;
}
h3 {
font-size: 2.2vh;
}
h1,
h2,
h3,
p,
label {
margin: 0;
text-shadow: 0 0 1vh rgba(0, 0, 0, 0.15);
}
p {
font-size: 1.75vh;
}
ul {
font-size: 1.75vh;
margin: 0;
margin-top: 1vh;
padding-left: 3vh;
}
a {
color: green
}
a.install-link {
text-decoration: none
}
.install-button {
border: 0;
outline: 0;
color: white;
background: #8A5AAB;
padding: 1.2vh 3.5vh;
margin: auto;
text-align: center;
font-family: 'Open Sans', Arial, sans-serif;
font-size: 2.2vh;
font-weight: 600;
cursor: pointer;
display: block;
box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.2);
transition: box-shadow 0.1s ease-in-out;
}
.install-button:hover {
box-shadow: none;
}
.install-button:active {
box-shadow: 0 0 0 0.5vh white inset;
}
#addon {
width: 90vh;
margin: auto;
padding-left: 10%;
padding-right: 10%;
background: rgba(0, 0, 0, 0.60);
}
.logo {
height: 14vh;
width: 14vh;
margin: auto;
margin-bottom: 3vh;
}
.logo img {
width: 100%;
}
.name, .version {
display: inline-block;
vertical-align: top;
}
.name {
line-height: 5vh;
}
.version {
position: absolute;
line-height: 5vh;
margin-left: 1vh;
opacity: 0.8;
}
.contact {
left: 0;
bottom: 4vh;
width: 100%;
margin-top: 1vh;
text-align: center;
}
.contact a {
font-size: 1.4vh;
font-style: italic;
}
.separator {
margin-bottom: 4vh;
}
.label {
font-size: 2.2vh;
font-weight: 600;
padding: 0;
line-height: inherit;
}
.btn-group, .multiselect-container {
width: 100%;
}
.btn {
text-align: left;
}
.multiselect-container {
border: 0;
border-radius: 0;
}
.input, .btn {
width: 100%;
margin: auto;
margin-bottom: 10px;
padding: 6px 12px;
border: 0;
border-radius: 0;
outline: 0;
color: #333;
background-color: rgb(255, 255, 255);
box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.2);
}
.input:focus, .btn:focus {
outline: none;
box-shadow: 0 0 0 2pt rgb(30, 144, 255, 0.7);
}
</style>
</head>
<body>
<div id="addon">
<div class="logo">
<img src="https://i.ibb.co/w4BnkC9/GwxAcDV.png">
</div>
<h1 class="name">Torrentio</h1>
<h2 class="version">0.0.14</h2>
<h2 class="description">Provides torrent streams from scraped torrent providers. Currently supports YTS(+), EZTV(+), RARBG(+), 1337x(+), ThePirateBay(+), KickassTorrents(+), TorrentGalaxy(+), MagnetDL(+), HorribleSubs(+), NyaaSi(+), TokyoTosho(+), AniDex(+), Rutor(+), Rutracker(+), Comando(+), BluDV(+), Torrent9(+), ilCorSaRoNeRo(+), MejorTorrent(+), Wolfmax4k(+), Cinecalidad(+). To configure providers, RealDebrid/Premiumize/AllDebrid/DebridLink/Offcloud/Put.io support and other settings visit https://torrentio.strem.fun</h2>
<div class="separator"></div>
<h3 class="gives">This addon has more :</h3>
<ul>
<li>Movies</li><li>Series</li><li>Animes</li><li>Others</li>
</ul>
<div class="separator"></div>
<label class="label" for="iProviders">Providers:</label>
<span class="multiselect-native-select"><select id="iProviders" class="input" onchange="generateInstallLink()" name="providers[]" multiple="multiple" tabindex="-1">
<option value="yts" data-multiselectid="multiselect_uzau3a1cdx_0_0">YTS</option>
<option value="eztv" data-multiselectid="multiselect_uzau3a1cdx_0_1">EZTV</option>
<option value="rarbg" data-multiselectid="multiselect_uzau3a1cdx_0_2">RARBG</option>
<option value="1337x" data-multiselectid="multiselect_uzau3a1cdx_0_3">1337x</option>
<option value="thepiratebay" data-multiselectid="multiselect_uzau3a1cdx_0_4">ThePirateBay</option>
<option value="kickasstorrents" data-multiselectid="multiselect_uzau3a1cdx_0_5">KickassTorrents</option>
<option value="torrentgalaxy" data-multiselectid="multiselect_uzau3a1cdx_0_6">TorrentGalaxy</option>
<option value="magnetdl" data-multiselectid="multiselect_uzau3a1cdx_0_7">MagnetDL</option>
<option value="horriblesubs" data-multiselectid="multiselect_uzau3a1cdx_0_8">HorribleSubs</option>
<option value="nyaasi" data-multiselectid="multiselect_uzau3a1cdx_0_9">NyaaSi</option>
<option value="tokyotosho" data-multiselectid="multiselect_uzau3a1cdx_0_10">TokyoTosho</option>
<option value="anidex" data-multiselectid="multiselect_uzau3a1cdx_0_11">AniDex</option>
<option value="rutor" data-multiselectid="multiselect_uzau3a1cdx_0_12">🇷🇺 Rutor</option>
<option value="rutracker" data-multiselectid="multiselect_uzau3a1cdx_0_13">🇷🇺 Rutracker</option>
<option value="comando" data-multiselectid="multiselect_uzau3a1cdx_0_14">🇵🇹 Comando</option>
<option value="bludv" data-multiselectid="multiselect_uzau3a1cdx_0_15">🇵🇹 BluDV</option>
<option value="torrent9" data-multiselectid="multiselect_uzau3a1cdx_0_16">🇫🇷 Torrent9</option>
<option value="ilcorsaronero" data-multiselectid="multiselect_uzau3a1cdx_0_17">🇮🇹 ilCorSaRoNeRo</option>
<option value="mejortorrent" data-multiselectid="multiselect_uzau3a1cdx_0_18">🇪🇸 MejorTorrent</option>
<option value="wolfmax4k" data-multiselectid="multiselect_uzau3a1cdx_0_19">🇪🇸 Wolfmax4k</option>
<option value="cinecalidad" data-multiselectid="multiselect_uzau3a1cdx_0_20">🇲🇽 Cinecalidad</option>
</select><div class="btn-group"><button type="button" class="multiselect dropdown-toggle custom-select text-left" data-toggle="dropdown" title="YTS, EZTV, RARBG, 1337x, ThePirateBay, KickassTorrents, TorrentGalaxy, MagnetDL, HorribleSubs, NyaaSi, TokyoTosho, AniDex, 🇷🇺 Rutor, 🇷🇺 Rutracker, 🇵🇹 Comando, 🇵🇹 BluDV, 🇫🇷 Torrent9, 🇮🇹 ilCorSaRoNeRo, 🇪🇸 MejorTorrent, 🇪🇸 Wolfmax4k, 🇲🇽 Cinecalidad"><span class="multiselect-selected-text">All selected (21)</span></button><div class="multiselect-container dropdown-menu"><button type="button" class="multiselect-option dropdown-item active" title="YTS"><span class="form-check"><input class="form-check-input" type="checkbox" value="yts" id="multiselect_uzau3a1cdx_0_0"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_0">YTS</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="EZTV"><span class="form-check"><input class="form-check-input" type="checkbox" value="eztv" id="multiselect_uzau3a1cdx_0_1"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_1">EZTV</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="RARBG"><span class="form-check"><input class="form-check-input" type="checkbox" value="rarbg" id="multiselect_uzau3a1cdx_0_2"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_2">RARBG</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="1337x"><span class="form-check"><input class="form-check-input" type="checkbox" value="1337x" id="multiselect_uzau3a1cdx_0_3"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_3">1337x</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="ThePirateBay"><span class="form-check"><input class="form-check-input" type="checkbox" value="thepiratebay" id="multiselect_uzau3a1cdx_0_4"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_4">ThePirateBay</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="KickassTorrents"><span class="form-check"><input class="form-check-input" type="checkbox" value="kickasstorrents" id="multiselect_uzau3a1cdx_0_5"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_5">KickassTorrents</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="TorrentGalaxy"><span class="form-check"><input class="form-check-input" type="checkbox" value="torrentgalaxy" id="multiselect_uzau3a1cdx_0_6"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_6">TorrentGalaxy</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="MagnetDL"><span class="form-check"><input class="form-check-input" type="checkbox" value="magnetdl" id="multiselect_uzau3a1cdx_0_7"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_7">MagnetDL</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="HorribleSubs"><span class="form-check"><input class="form-check-input" type="checkbox" value="horriblesubs" id="multiselect_uzau3a1cdx_0_8"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_8">HorribleSubs</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="NyaaSi"><span class="form-check"><input class="form-check-input" type="checkbox" value="nyaasi" id="multiselect_uzau3a1cdx_0_9"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_9">NyaaSi</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="TokyoTosho"><span class="form-check"><input class="form-check-input" type="checkbox" value="tokyotosho" id="multiselect_uzau3a1cdx_0_10"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_10">TokyoTosho</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="AniDex"><span class="form-check"><input class="form-check-input" type="checkbox" value="anidex" id="multiselect_uzau3a1cdx_0_11"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_11">AniDex</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇷🇺 Rutor"><span class="form-check"><input class="form-check-input" type="checkbox" value="rutor" id="multiselect_uzau3a1cdx_0_12"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_12">🇷🇺 Rutor</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇷🇺 Rutracker"><span class="form-check"><input class="form-check-input" type="checkbox" value="rutracker" id="multiselect_uzau3a1cdx_0_13"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_13">🇷🇺 Rutracker</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇵🇹 Comando"><span class="form-check"><input class="form-check-input" type="checkbox" value="comando" id="multiselect_uzau3a1cdx_0_14"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_14">🇵🇹 Comando</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇵🇹 BluDV"><span class="form-check"><input class="form-check-input" type="checkbox" value="bludv" id="multiselect_uzau3a1cdx_0_15"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_15">🇵🇹 BluDV</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇫🇷 Torrent9"><span class="form-check"><input class="form-check-input" type="checkbox" value="torrent9" id="multiselect_uzau3a1cdx_0_16"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_16">🇫🇷 Torrent9</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇮🇹 ilCorSaRoNeRo"><span class="form-check"><input class="form-check-input" type="checkbox" value="ilcorsaronero" id="multiselect_uzau3a1cdx_0_17"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_17">🇮🇹 ilCorSaRoNeRo</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇪🇸 MejorTorrent"><span class="form-check"><input class="form-check-input" type="checkbox" value="mejortorrent" id="multiselect_uzau3a1cdx_0_18"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_18">🇪🇸 MejorTorrent</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇪🇸 Wolfmax4k"><span class="form-check"><input class="form-check-input" type="checkbox" value="wolfmax4k" id="multiselect_uzau3a1cdx_0_19"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_19">🇪🇸 Wolfmax4k</label></span></button><button type="button" class="multiselect-option dropdown-item active" title="🇲🇽 Cinecalidad"><span class="form-check"><input class="form-check-input" type="checkbox" value="cinecalidad" id="multiselect_uzau3a1cdx_0_20"><label class="form-check-label" for="multiselect_uzau3a1cdx_0_20">🇲🇽 Cinecalidad</label></span></button></div></div></span>
<label class="label" for="iSort">Sorting:</label>
<select id="iSort" class="input" onchange="sortModeChange()">
<option value="quality" selected="">By quality then seeders</option>
<option value="qualitysize">By quality then size</option>
<option value="seeders">By seeders</option>
<option value="size">By size</option>
</select>
<label class="label" for="iLanguages">Priority foreign language:</label>
<span class="multiselect-native-select"><select id="iLanguages" class="input" onchange="generateInstallLink()" name="languages[]" multiple="multiple" title="Streams with the selected dubs/subs language will be shown on the top" tabindex="-1">
<option value="japanese" data-multiselectid="multiselect_74njobcu0ah_0_0">🇯🇵 Japanese</option>
<option value="russian" data-multiselectid="multiselect_74njobcu0ah_0_1">🇷🇺 Russian</option>
<option value="italian" data-multiselectid="multiselect_74njobcu0ah_0_2">🇮🇹 Italian</option>
<option value="portuguese" data-multiselectid="multiselect_74njobcu0ah_0_3">🇵🇹 Portuguese</option>
<option value="spanish" data-multiselectid="multiselect_74njobcu0ah_0_4">🇪🇸 Spanish</option>
<option value="latino" data-multiselectid="multiselect_74njobcu0ah_0_5">🇲🇽 Latino</option>
<option value="korean" data-multiselectid="multiselect_74njobcu0ah_0_6">🇰🇷 Korean</option>
<option value="chinese" data-multiselectid="multiselect_74njobcu0ah_0_7">🇨🇳 Chinese</option>
<option value="taiwanese" data-multiselectid="multiselect_74njobcu0ah_0_8">🇹🇼 Taiwanese</option>
<option value="french" data-multiselectid="multiselect_74njobcu0ah_0_9">🇫🇷 French</option>
<option value="german" data-multiselectid="multiselect_74njobcu0ah_0_10">🇩🇪 German</option>
<option value="dutch" data-multiselectid="multiselect_74njobcu0ah_0_11">🇳🇱 Dutch</option>
<option value="hindi" data-multiselectid="multiselect_74njobcu0ah_0_12">🇮🇳 Hindi</option>
<option value="telugu" data-multiselectid="multiselect_74njobcu0ah_0_13">🇮🇳 Telugu</option>
<option value="tamil" data-multiselectid="multiselect_74njobcu0ah_0_14">🇮🇳 Tamil</option>
<option value="polish" data-multiselectid="multiselect_74njobcu0ah_0_15">🇵🇱 Polish</option>
<option value="lithuanian" data-multiselectid="multiselect_74njobcu0ah_0_16">🇱🇹 Lithuanian</option>
<option value="latvian" data-multiselectid="multiselect_74njobcu0ah_0_17">🇱🇻 Latvian</option>
<option value="estonian" data-multiselectid="multiselect_74njobcu0ah_0_18">🇪🇪 Estonian</option>
<option value="czech" data-multiselectid="multiselect_74njobcu0ah_0_19">🇨🇿 Czech</option>
<option value="slovakian" data-multiselectid="multiselect_74njobcu0ah_0_20">🇸🇰 Slovakian</option>
<option value="slovenian" data-multiselectid="multiselect_74njobcu0ah_0_21">🇸🇮 Slovenian</option>
<option value="hungarian" data-multiselectid="multiselect_74njobcu0ah_0_22">ğŸ‡ğŸ‡º Hungarian</option>
<option value="romanian" data-multiselectid="multiselect_74njobcu0ah_0_23">🇷🇴 Romanian</option>
<option value="bulgarian" data-multiselectid="multiselect_74njobcu0ah_0_24">🇧🇬 Bulgarian</option>
<option value="serbian" data-multiselectid="multiselect_74njobcu0ah_0_25">🇷🇸 Serbian</option>
<option value="croatian" data-multiselectid="multiselect_74njobcu0ah_0_26">ğŸ‡ğŸ‡· Croatian</option>
<option value="ukrainian" data-multiselectid="multiselect_74njobcu0ah_0_27">🇺🇦 Ukrainian</option>
<option value="greek" data-multiselectid="multiselect_74njobcu0ah_0_28">🇬🇷 Greek</option>
<option value="danish" data-multiselectid="multiselect_74njobcu0ah_0_29">🇩🇰 Danish</option>
<option value="finnish" data-multiselectid="multiselect_74njobcu0ah_0_30">🇫🇮 Finnish</option>
<option value="swedish" data-multiselectid="multiselect_74njobcu0ah_0_31">🇸🇪 Swedish</option>
<option value="norwegian" data-multiselectid="multiselect_74njobcu0ah_0_32">🇳🇴 Norwegian</option>
<option value="turkish" data-multiselectid="multiselect_74njobcu0ah_0_33">🇹🇷 Turkish</option>
<option value="arabic" data-multiselectid="multiselect_74njobcu0ah_0_34">🇸🇦 Arabic</option>
<option value="persian" data-multiselectid="multiselect_74njobcu0ah_0_35">🇮🇷 Persian</option>
<option value="hebrew" data-multiselectid="multiselect_74njobcu0ah_0_36">🇮🇱 Hebrew</option>
<option value="vietnamese" data-multiselectid="multiselect_74njobcu0ah_0_37">🇻🇳 Vietnamese</option>
<option value="indonesian" data-multiselectid="multiselect_74njobcu0ah_0_38">🇮🇩 Indonesian</option>
<option value="malay" data-multiselectid="multiselect_74njobcu0ah_0_39">🇲🇾 Malay</option>
<option value="thai" data-multiselectid="multiselect_74njobcu0ah_0_40">🇹🇠Thai</option>
</select><div class="btn-group"><button type="button" class="multiselect dropdown-toggle custom-select text-left" data-toggle="dropdown" title="None"><span class="multiselect-selected-text">None</span></button><div class="multiselect-container dropdown-menu"><button type="button" class="multiselect-option dropdown-item" title="🇯🇵 Japanese"><span class="form-check"><input class="form-check-input" type="checkbox" value="japanese" id="multiselect_74njobcu0ah_0_0"><label class="form-check-label" for="multiselect_74njobcu0ah_0_0">🇯🇵 Japanese</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇷🇺 Russian"><span class="form-check"><input class="form-check-input" type="checkbox" value="russian" id="multiselect_74njobcu0ah_0_1"><label class="form-check-label" for="multiselect_74njobcu0ah_0_1">🇷🇺 Russian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇮🇹 Italian"><span class="form-check"><input class="form-check-input" type="checkbox" value="italian" id="multiselect_74njobcu0ah_0_2"><label class="form-check-label" for="multiselect_74njobcu0ah_0_2">🇮🇹 Italian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇵🇹 Portuguese"><span class="form-check"><input class="form-check-input" type="checkbox" value="portuguese" id="multiselect_74njobcu0ah_0_3"><label class="form-check-label" for="multiselect_74njobcu0ah_0_3">🇵🇹 Portuguese</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇪🇸 Spanish"><span class="form-check"><input class="form-check-input" type="checkbox" value="spanish" id="multiselect_74njobcu0ah_0_4"><label class="form-check-label" for="multiselect_74njobcu0ah_0_4">🇪🇸 Spanish</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇲🇽 Latino"><span class="form-check"><input class="form-check-input" type="checkbox" value="latino" id="multiselect_74njobcu0ah_0_5"><label class="form-check-label" for="multiselect_74njobcu0ah_0_5">🇲🇽 Latino</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇰🇷 Korean"><span class="form-check"><input class="form-check-input" type="checkbox" value="korean" id="multiselect_74njobcu0ah_0_6"><label class="form-check-label" for="multiselect_74njobcu0ah_0_6">🇰🇷 Korean</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇨🇳 Chinese"><span class="form-check"><input class="form-check-input" type="checkbox" value="chinese" id="multiselect_74njobcu0ah_0_7"><label class="form-check-label" for="multiselect_74njobcu0ah_0_7">🇨🇳 Chinese</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇹🇼 Taiwanese"><span class="form-check"><input class="form-check-input" type="checkbox" value="taiwanese" id="multiselect_74njobcu0ah_0_8"><label class="form-check-label" for="multiselect_74njobcu0ah_0_8">🇹🇼 Taiwanese</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇫🇷 French"><span class="form-check"><input class="form-check-input" type="checkbox" value="french" id="multiselect_74njobcu0ah_0_9"><label class="form-check-label" for="multiselect_74njobcu0ah_0_9">🇫🇷 French</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇩🇪 German"><span class="form-check"><input class="form-check-input" type="checkbox" value="german" id="multiselect_74njobcu0ah_0_10"><label class="form-check-label" for="multiselect_74njobcu0ah_0_10">🇩🇪 German</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇳🇱 Dutch"><span class="form-check"><input class="form-check-input" type="checkbox" value="dutch" id="multiselect_74njobcu0ah_0_11"><label class="form-check-label" for="multiselect_74njobcu0ah_0_11">🇳🇱 Dutch</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇮🇳 Hindi"><span class="form-check"><input class="form-check-input" type="checkbox" value="hindi" id="multiselect_74njobcu0ah_0_12"><label class="form-check-label" for="multiselect_74njobcu0ah_0_12">🇮🇳 Hindi</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇮🇳 Telugu"><span class="form-check"><input class="form-check-input" type="checkbox" value="telugu" id="multiselect_74njobcu0ah_0_13"><label class="form-check-label" for="multiselect_74njobcu0ah_0_13">🇮🇳 Telugu</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇮🇳 Tamil"><span class="form-check"><input class="form-check-input" type="checkbox" value="tamil" id="multiselect_74njobcu0ah_0_14"><label class="form-check-label" for="multiselect_74njobcu0ah_0_14">🇮🇳 Tamil</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇵🇱 Polish"><span class="form-check"><input class="form-check-input" type="checkbox" value="polish" id="multiselect_74njobcu0ah_0_15"><label class="form-check-label" for="multiselect_74njobcu0ah_0_15">🇵🇱 Polish</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇱🇹 Lithuanian"><span class="form-check"><input class="form-check-input" type="checkbox" value="lithuanian" id="multiselect_74njobcu0ah_0_16"><label class="form-check-label" for="multiselect_74njobcu0ah_0_16">🇱🇹 Lithuanian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇱🇻 Latvian"><span class="form-check"><input class="form-check-input" type="checkbox" value="latvian" id="multiselect_74njobcu0ah_0_17"><label class="form-check-label" for="multiselect_74njobcu0ah_0_17">🇱🇻 Latvian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇪🇪 Estonian"><span class="form-check"><input class="form-check-input" type="checkbox" value="estonian" id="multiselect_74njobcu0ah_0_18"><label class="form-check-label" for="multiselect_74njobcu0ah_0_18">🇪🇪 Estonian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇨🇿 Czech"><span class="form-check"><input class="form-check-input" type="checkbox" value="czech" id="multiselect_74njobcu0ah_0_19"><label class="form-check-label" for="multiselect_74njobcu0ah_0_19">🇨🇿 Czech</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇸🇰 Slovakian"><span class="form-check"><input class="form-check-input" type="checkbox" value="slovakian" id="multiselect_74njobcu0ah_0_20"><label class="form-check-label" for="multiselect_74njobcu0ah_0_20">🇸🇰 Slovakian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇸🇮 Slovenian"><span class="form-check"><input class="form-check-input" type="checkbox" value="slovenian" id="multiselect_74njobcu0ah_0_21"><label class="form-check-label" for="multiselect_74njobcu0ah_0_21">🇸🇮 Slovenian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="ğŸ‡ğŸ‡º Hungarian"><span class="form-check"><input class="form-check-input" type="checkbox" value="hungarian" id="multiselect_74njobcu0ah_0_22"><label class="form-check-label" for="multiselect_74njobcu0ah_0_22">ğŸ‡ğŸ‡º Hungarian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇷🇴 Romanian"><span class="form-check"><input class="form-check-input" type="checkbox" value="romanian" id="multiselect_74njobcu0ah_0_23"><label class="form-check-label" for="multiselect_74njobcu0ah_0_23">🇷🇴 Romanian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇧🇬 Bulgarian"><span class="form-check"><input class="form-check-input" type="checkbox" value="bulgarian" id="multiselect_74njobcu0ah_0_24"><label class="form-check-label" for="multiselect_74njobcu0ah_0_24">🇧🇬 Bulgarian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇷🇸 Serbian"><span class="form-check"><input class="form-check-input" type="checkbox" value="serbian" id="multiselect_74njobcu0ah_0_25"><label class="form-check-label" for="multiselect_74njobcu0ah_0_25">🇷🇸 Serbian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="ğŸ‡ğŸ‡· Croatian"><span class="form-check"><input class="form-check-input" type="checkbox" value="croatian" id="multiselect_74njobcu0ah_0_26"><label class="form-check-label" for="multiselect_74njobcu0ah_0_26">ğŸ‡ğŸ‡· Croatian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇺🇦 Ukrainian"><span class="form-check"><input class="form-check-input" type="checkbox" value="ukrainian" id="multiselect_74njobcu0ah_0_27"><label class="form-check-label" for="multiselect_74njobcu0ah_0_27">🇺🇦 Ukrainian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇬🇷 Greek"><span class="form-check"><input class="form-check-input" type="checkbox" value="greek" id="multiselect_74njobcu0ah_0_28"><label class="form-check-label" for="multiselect_74njobcu0ah_0_28">🇬🇷 Greek</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇩🇰 Danish"><span class="form-check"><input class="form-check-input" type="checkbox" value="danish" id="multiselect_74njobcu0ah_0_29"><label class="form-check-label" for="multiselect_74njobcu0ah_0_29">🇩🇰 Danish</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇫🇮 Finnish"><span class="form-check"><input class="form-check-input" type="checkbox" value="finnish" id="multiselect_74njobcu0ah_0_30"><label class="form-check-label" for="multiselect_74njobcu0ah_0_30">🇫🇮 Finnish</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇸🇪 Swedish"><span class="form-check"><input class="form-check-input" type="checkbox" value="swedish" id="multiselect_74njobcu0ah_0_31"><label class="form-check-label" for="multiselect_74njobcu0ah_0_31">🇸🇪 Swedish</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇳🇴 Norwegian"><span class="form-check"><input class="form-check-input" type="checkbox" value="norwegian" id="multiselect_74njobcu0ah_0_32"><label class="form-check-label" for="multiselect_74njobcu0ah_0_32">🇳🇴 Norwegian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇹🇷 Turkish"><span class="form-check"><input class="form-check-input" type="checkbox" value="turkish" id="multiselect_74njobcu0ah_0_33"><label class="form-check-label" for="multiselect_74njobcu0ah_0_33">🇹🇷 Turkish</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇸🇦 Arabic"><span class="form-check"><input class="form-check-input" type="checkbox" value="arabic" id="multiselect_74njobcu0ah_0_34"><label class="form-check-label" for="multiselect_74njobcu0ah_0_34">🇸🇦 Arabic</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇮🇷 Persian"><span class="form-check"><input class="form-check-input" type="checkbox" value="persian" id="multiselect_74njobcu0ah_0_35"><label class="form-check-label" for="multiselect_74njobcu0ah_0_35">🇮🇷 Persian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇮🇱 Hebrew"><span class="form-check"><input class="form-check-input" type="checkbox" value="hebrew" id="multiselect_74njobcu0ah_0_36"><label class="form-check-label" for="multiselect_74njobcu0ah_0_36">🇮🇱 Hebrew</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇻🇳 Vietnamese"><span class="form-check"><input class="form-check-input" type="checkbox" value="vietnamese" id="multiselect_74njobcu0ah_0_37"><label class="form-check-label" for="multiselect_74njobcu0ah_0_37">🇻🇳 Vietnamese</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇮🇩 Indonesian"><span class="form-check"><input class="form-check-input" type="checkbox" value="indonesian" id="multiselect_74njobcu0ah_0_38"><label class="form-check-label" for="multiselect_74njobcu0ah_0_38">🇮🇩 Indonesian</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇲🇾 Malay"><span class="form-check"><input class="form-check-input" type="checkbox" value="malay" id="multiselect_74njobcu0ah_0_39"><label class="form-check-label" for="multiselect_74njobcu0ah_0_39">🇲🇾 Malay</label></span></button><button type="button" class="multiselect-option dropdown-item" title="🇹🇠Thai"><span class="form-check"><input class="form-check-input" type="checkbox" value="thai" id="multiselect_74njobcu0ah_0_40"><label class="form-check-label" for="multiselect_74njobcu0ah_0_40">🇹🇠Thai</label></span></button></div></div></span>
<label class="label" for="iQualityFilter">Exclude qualities/resolutions:</label>
<span class="multiselect-native-select"><select id="iQualityFilter" class="input" onchange="generateInstallLink()" name="qualityFilters[]" multiple="multiple" tabindex="-1">
<option value="brremux" data-multiselectid="multiselect_acm6lef3bea_0_0">BluRay REMUX</option>
<option value="hdrall" data-multiselectid="multiselect_acm6lef3bea_0_1">HDR/HDR10+/Dolby Vision</option>
<option value="dolbyvision" data-multiselectid="multiselect_acm6lef3bea_0_2">Dolby Vision</option>
<option value="dolbyvisionwithhdr" data-multiselectid="multiselect_acm6lef3bea_0_3">Dolby Vision + HDR</option>
<option value="threed" data-multiselectid="multiselect_acm6lef3bea_0_4">3D</option>
<option value="nonthreed" data-multiselectid="multiselect_acm6lef3bea_0_5">Non 3D (DO NOT SELECT IF NOT SURE)</option>
<option value="4k" data-multiselectid="multiselect_acm6lef3bea_0_6">4k</option>
<option value="1080p" data-multiselectid="multiselect_acm6lef3bea_0_7">1080p</option>
<option value="720p" data-multiselectid="multiselect_acm6lef3bea_0_8">720p</option>
<option value="480p" data-multiselectid="multiselect_acm6lef3bea_0_9">480p</option>
<option value="other" data-multiselectid="multiselect_acm6lef3bea_0_10">Other (DVDRip/HDRip/BDRip...)</option>
<option value="scr" data-multiselectid="multiselect_acm6lef3bea_0_11">Screener</option>
<option value="cam" data-multiselectid="multiselect_acm6lef3bea_0_12">Cam</option>
<option value="unknown" data-multiselectid="multiselect_acm6lef3bea_0_13">Unknown</option>
</select><div class="btn-group"><button type="button" class="multiselect dropdown-toggle custom-select text-left" data-toggle="dropdown" title="None"><span class="multiselect-selected-text">None</span></button><div class="multiselect-container dropdown-menu"><button type="button" class="multiselect-option dropdown-item" title="BluRay REMUX"><span class="form-check"><input class="form-check-input" type="checkbox" value="brremux" id="multiselect_acm6lef3bea_0_0"><label class="form-check-label" for="multiselect_acm6lef3bea_0_0">BluRay REMUX</label></span></button><button type="button" class="multiselect-option dropdown-item" title="HDR/HDR10+/Dolby Vision"><span class="form-check"><input class="form-check-input" type="checkbox" value="hdrall" id="multiselect_acm6lef3bea_0_1"><label class="form-check-label" for="multiselect_acm6lef3bea_0_1">HDR/HDR10+/Dolby Vision</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Dolby Vision"><span class="form-check"><input class="form-check-input" type="checkbox" value="dolbyvision" id="multiselect_acm6lef3bea_0_2"><label class="form-check-label" for="multiselect_acm6lef3bea_0_2">Dolby Vision</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Dolby Vision + HDR"><span class="form-check"><input class="form-check-input" type="checkbox" value="dolbyvisionwithhdr" id="multiselect_acm6lef3bea_0_3"><label class="form-check-label" for="multiselect_acm6lef3bea_0_3">Dolby Vision + HDR</label></span></button><button type="button" class="multiselect-option dropdown-item" title="3D"><span class="form-check"><input class="form-check-input" type="checkbox" value="threed" id="multiselect_acm6lef3bea_0_4"><label class="form-check-label" for="multiselect_acm6lef3bea_0_4">3D</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Non 3D (DO NOT SELECT IF NOT SURE)"><span class="form-check"><input class="form-check-input" type="checkbox" value="nonthreed" id="multiselect_acm6lef3bea_0_5"><label class="form-check-label" for="multiselect_acm6lef3bea_0_5">Non 3D (DO NOT SELECT IF NOT SURE)</label></span></button><button type="button" class="multiselect-option dropdown-item" title="4k"><span class="form-check"><input class="form-check-input" type="checkbox" value="4k" id="multiselect_acm6lef3bea_0_6"><label class="form-check-label" for="multiselect_acm6lef3bea_0_6">4k</label></span></button><button type="button" class="multiselect-option dropdown-item" title="1080p"><span class="form-check"><input class="form-check-input" type="checkbox" value="1080p" id="multiselect_acm6lef3bea_0_7"><label class="form-check-label" for="multiselect_acm6lef3bea_0_7">1080p</label></span></button><button type="button" class="multiselect-option dropdown-item" title="720p"><span class="form-check"><input class="form-check-input" type="checkbox" value="720p" id="multiselect_acm6lef3bea_0_8"><label class="form-check-label" for="multiselect_acm6lef3bea_0_8">720p</label></span></button><button type="button" class="multiselect-option dropdown-item" title="480p"><span class="form-check"><input class="form-check-input" type="checkbox" value="480p" id="multiselect_acm6lef3bea_0_9"><label class="form-check-label" for="multiselect_acm6lef3bea_0_9">480p</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Other (DVDRip/HDRip/BDRip...)"><span class="form-check"><input class="form-check-input" type="checkbox" value="other" id="multiselect_acm6lef3bea_0_10"><label class="form-check-label" for="multiselect_acm6lef3bea_0_10">Other (DVDRip/HDRip/BDRip...)</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Screener"><span class="form-check"><input class="form-check-input" type="checkbox" value="scr" id="multiselect_acm6lef3bea_0_11"><label class="form-check-label" for="multiselect_acm6lef3bea_0_11">Screener</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Cam"><span class="form-check"><input class="form-check-input" type="checkbox" value="cam" id="multiselect_acm6lef3bea_0_12"><label class="form-check-label" for="multiselect_acm6lef3bea_0_12">Cam</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Unknown"><span class="form-check"><input class="form-check-input" type="checkbox" value="unknown" id="multiselect_acm6lef3bea_0_13"><label class="form-check-label" for="multiselect_acm6lef3bea_0_13">Unknown</label></span></button></div></div></span>
<label class="label" id="iLimitLabel" for="iLimit">Max results per quality:</label>
<input type="text" inputmode="numeric" pattern="[0-9]*" id="iLimit" onchange="generateInstallLink()" class="input" placeholder="All results">
<label class="label" id="iSizeFilterLabel" for="iSizeFilter">Video size limit:</label>
<input type="text" pattern="([0-9.]*(?:MB|GB),?)+" id="iSizeFilter" onchange="generateInstallLink()" class="input" placeholder="No limit" title="Returned videos cannot exceed this size, use comma to have different size for movies and series. Examples: 5GB ; 800MB ; 10GB,2GB">
<label class="label" for="iDebridProviders">Debrid provider:</label>
<select id="iDebridProviders" class="input" onchange="debridProvidersChange()">
<option value="none" selected="">None</option>
<option value="realdebrid">RealDebrid</option>
<option value="premiumize">Premiumize</option>
<option value="alldebrid">AllDebrid</option>
<option value="debridlink">DebridLink</option>
<option value="offcloud">Offcloud</option>
<option value="putio">Put.io</option>
</select>
<div id="dRealDebrid" style="display: none;">
<label class="label" for="iRealDebrid">RealDebrid API Key (Find it <a href="https://real-debrid.com/apitoken" target="_blank">here</a>):</label>
<input type="text" id="iRealDebrid" onchange="generateInstallLink()" class="input">
</div>
<div id="dAllDebrid" style="display: none;">
<label class="label" for="iAllDebrid">AllDebrid API Key (Create it <a href="https://alldebrid.com/apikeys" target="_blank">here</a>):</label>
<input type="text" id="iAllDebrid" onchange="generateInstallLink()" class="input">
</div>
<div id="dPremiumize" style="display: none;">
<label class="label" for="iPremiumize">Premiumize API Key (Find it <a href="https://www.premiumize.me/account" target="_blank">here</a>):</label>
<input type="text" id="iPremiumize" onchange="generateInstallLink()" class="input">
</div>
<div id="dDebridLink" style="display: none;">
<label class="label" for="iDebridLink">DebridLink API Key (Find it <a href="https://debrid-link.fr/webapp/apikey" target="_blank">here</a>):</label>
<input type="text" id="iDebridLink" onchange="generateInstallLink()" class="input">
</div>
<div id="dOffcloud" style="display: none;">
<label class="label" for="iOffcloud">Offcloud API Key (Find it <a href="https://offcloud.com/#/account" target="_blank">here</a>):</label>
<input type="text" id="iOffcloud" onchange="generateInstallLink()" class="input">
</div>
<div id="dPutio" style="display: none;">
<label class="label" for="iPutio">Put.io ClientId and Token (Create new OAuth App <a href="https://app.put.io/oauth" target="_blank">here</a>):</label>
<input type="text" id="iPutioClientId" placeholder="ClientId" onchange="generateInstallLink()" class="input">
<input type="text" id="iPutioToken" placeholder="Token" onchange="generateInstallLink()" class="input">
</div>
<div id="dDebridOptions" style="display: none;">
<label class="label" for="iDebridOptions">Debrid options:</label>
<span class="multiselect-native-select"><select id="iDebridOptions" class="input" onchange="generateInstallLink()" name="debridOptions[]" multiple="multiple" tabindex="-1">
<option value="nodownloadlinks" data-multiselectid="multiselect_s3no46ii8w_0_0">Don't show download to debrid links</option>
<option value="nocatalog" data-multiselectid="multiselect_s3no46ii8w_0_1">Don't show debrid catalog</option>
<option value="torrentlinks" data-multiselectid="multiselect_s3no46ii8w_0_2">Show P2P torrent links for uncached</option>
</select><div class="btn-group"><button type="button" class="multiselect dropdown-toggle custom-select text-left" data-toggle="dropdown" title="None"><span class="multiselect-selected-text">None</span></button><div class="multiselect-container dropdown-menu"><button type="button" class="multiselect-option dropdown-item" title="Don't show download to debrid links"><span class="form-check"><input class="form-check-input" type="checkbox" value="nodownloadlinks" id="multiselect_s3no46ii8w_0_0"><label class="form-check-label" for="multiselect_s3no46ii8w_0_0">Don't show download to debrid links</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Don't show debrid catalog"><span class="form-check"><input class="form-check-input" type="checkbox" value="nocatalog" id="multiselect_s3no46ii8w_0_1"><label class="form-check-label" for="multiselect_s3no46ii8w_0_1">Don't show debrid catalog</label></span></button><button type="button" class="multiselect-option dropdown-item" title="Show P2P torrent links for uncached"><span class="form-check"><input class="form-check-input" type="checkbox" value="torrentlinks" id="multiselect_s3no46ii8w_0_2"><label class="form-check-label" for="multiselect_s3no46ii8w_0_2">Show P2P torrent links for uncached</label></span></button></div></div></span>
</div>
<div class="separator"></div>
<a id="installLink" class="install-link" href="stremio://torrentio.strem.fun/manifest.json">
<button name="Install" class="install-button">INSTALL</button>
</a>
<div class="contact">
<p>Or paste into Stremio search bar after clicking install</p>
</div>
<div class="separator"></div>
</div>
<script type="text/javascript">
$(document).ready(function() {
const isTvMedia = window.matchMedia("tv").matches;
const isTvAgent = /\b(?:tv|wv)\b/i.test(navigator.userAgent)
const isDesktopMedia = window.matchMedia("(pointer:fine)").matches;
if (isDesktopMedia && !isTvMedia && !isTvAgent) {
$('#iProviders').multiselect({
nonSelectedText: 'All providers',
buttonTextAlignment: 'left',
onChange: () => generateInstallLink()
});
$('#iProviders').multiselect('select', ["yts","eztv","rarbg","1337x","thepiratebay","kickasstorrents","torrentgalaxy","magnetdl","horriblesubs","nyaasi","tokyotosho","anidex","rutor","rutracker","comando","bludv","torrent9","ilcorsaronero","mejortorrent","wolfmax4k","cinecalidad"]);
$('#iLanguages').multiselect({
nonSelectedText: 'None',
buttonTextAlignment: 'left',
onChange: () => generateInstallLink()
});
$('#iLanguages').multiselect('select', []);
$('#iQualityFilter').multiselect({
nonSelectedText: 'None',
buttonTextAlignment: 'left',
onChange: () => generateInstallLink()
});
$('#iQualityFilter').multiselect('select', []);
$('#iDebridOptions').multiselect({
nonSelectedText: 'None',
buttonTextAlignment: 'left',
onChange: () => generateInstallLink()
});
$('#iDebridOptions').multiselect('select', []);
} else {
$('#iProviders').val(["yts","eztv","rarbg","1337x","thepiratebay","kickasstorrents","torrentgalaxy","magnetdl","horriblesubs","nyaasi","tokyotosho","anidex","rutor","rutracker","comando","bludv","torrent9","ilcorsaronero","mejortorrent","wolfmax4k","cinecalidad"]);
$('#iLanguages').val([]);
$('#iQualityFilter').val([]);
$('#iDebridOptions').val([]);
}
$('#iDebridProviders').val("none");
$('#iRealDebrid').val("");
$('#iPremiumize').val("");
$('#iAllDebrid').val("");
$('#iDebridLink').val("");
$('#iOffcloud').val("");
$('#iPutioClientId').val("");
$('#iPutioToken').val("");
$('#iSort').val("quality");
$('#iLimit').val("");
$('#iSizeFilter').val("");
generateInstallLink();
debridProvidersChange();
});
function sortModeChange() {
if (['seeders', 'size'].includes($('#iSort').val())) {
$("#iLimitLabel").text("Max results:");
} else {
$("#iLimitLabel").text("Max results per quality:");
}
generateInstallLink();
}
function debridProvidersChange() {
const provider = $('#iDebridProviders').val()
$('#dDebridOptions').toggle(provider !== 'none');
$('#dRealDebrid').toggle(provider === 'realdebrid');
$('#dPremiumize').toggle(provider === 'premiumize');
$('#dAllDebrid').toggle(provider === 'alldebrid');
$('#dDebridLink').toggle(provider === 'debridlink');
$('#dOffcloud').toggle(provider === 'offcloud');
$('#dPutio').toggle(provider === 'putio');
}
function generateInstallLink() {
const providersList = $('#iProviders').val() || [];
const providersValue = providersList.join(',');
const qualityFilterValue = $('#iQualityFilter').val().join(',') || '';
const sortValue = $('#iSort').val() || '';
const languagesValue = $('#iLanguages').val().join(',') || [];
const limitValue = $('#iLimit').val() || '';
const sizeFilterValue = $('#iSizeFilter').val() || '';
const debridOptionsValue = $('#iDebridOptions').val().join(',') || '';
const realDebridValue = $('#iRealDebrid').val() || '';
const allDebridValue = $('#iAllDebrid').val() || '';
const debridLinkValue = $('#iDebridLink').val() || ''
const premiumizeValue = $('#iPremiumize').val() || '';
const offcloudValue = $('#iOffcloud').val() || ''
const putioClientIdValue = $('#iPutioClientId').val() || '';
const putioTokenValue = $('#iPutioToken').val() || '';
const providers = providersList.length && providersList.length < 21 && providersValue;
const qualityFilters = qualityFilterValue.length && qualityFilterValue;
const sort = sortValue !== 'quality' && sortValue;
const languages = languagesValue.length && languagesValue;
const limit = /^[1-9][0-9]{0,2}$/.test(limitValue) && limitValue;
const sizeFilter = sizeFilterValue.length && sizeFilterValue;
const debridOptions = debridOptionsValue.length && debridOptionsValue.trim();
const realDebrid = realDebridValue.length && realDebridValue.trim();
const premiumize = premiumizeValue.length && premiumizeValue.trim();
const allDebrid = allDebridValue.length && allDebridValue.trim();
const debridLink = debridLinkValue.length && debridLinkValue.trim();
const offcloud = offcloudValue.length && offcloudValue.trim();
const putio = putioClientIdValue.length && putioTokenValue.length && putioClientIdValue.trim() + '@' + putioTokenValue.trim();
const preConfigurations = {
lite: 'providers=yts,eztv,rarbg,1337x,thepiratebay,kickasstorrents,torrentgalaxy,magnetdl,horriblesubs,nyaasi,tokyotosho,anidex|qualityfilter=scr,cam|limit=1',brazuca: 'providers=yts,eztv,rarbg,1337x,thepiratebay,kickasstorrents,torrentgalaxy,magnetdl,horriblesubs,nyaasi,tokyotosho,anidex,comando,bludv|language=portuguese'
};
let configurationValue = [
['providers', providers],
['sort', sort],
['language', languages],
['qualityfilter', qualityFilters],
['limit', limit],
['sizefilter', sizeFilter],
['debridoptions', debridOptions],
['realdebrid', realDebrid],
['premiumize', premiumize],
['alldebrid', allDebrid],
['debridlink', debridLink],
['offcloud', offcloud],
['putio', putio]
].filter(([_, value]) => value.length).map(([key, value]) => key + '=' + value).join('|');
configurationValue = Object.entries(preConfigurations)
.filter(([key, value]) => value === configurationValue)
.map(([key, value]) => key)[0] || configurationValue;
const configuration = configurationValue && configurationValue.length ? '/' + configurationValue : '';
const location = window.location.host + configuration + '/manifest.json'
installLink.href = 'stremio://' + location;
}
installLink.addEventListener('click', function() {
navigator.clipboard.writeText(installLink.href.replace('stremio://', 'https://'));
});
</script>
</body></html>