fix putio moch client

This commit is contained in:
TheBeastLT
2023-11-02 10:27:58 +02:00
parent f9a28c15c2
commit deb982a409
4 changed files with 5 additions and 5 deletions

View File

@@ -331,7 +331,7 @@ export default function landingTemplate(manifest, config = {}) {
</div>
<div id="dPutio">
<label class="label" for="iPutio">Put.io ClientId and Token (Create new OAuth App <a href='https://app.put.io/settings/account/oauth/apps' target="_blank">here</a>):</label>
<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>

View File

@@ -38,7 +38,7 @@ const ANIME_TRACKERS = [
"http://t.nyaatracker.com:80/announce",
];
const RUSSIAN_TRACKERS = [
"udp://opentor.org:2710",
"udp://opentor.org:6969",
"http://retracker.local/announce",
"http://bt.t-ru.org/ann?magnet",
"http://bt2.t-ru.org/ann?magnet",

View File

@@ -1,9 +1,9 @@
import PutioAPI from '@putdotio/api-client'
import PutioClient from '@putdotio/api-client'
import { isVideo } from '../lib/extension.js';
import { delay } from '../lib/promises.js';
import StaticResponse from './static.js';
import { getMagnetLink } from '../lib/magnetHelper.js';
import { BadTokenError } from "./mochHelper.js";
const PutioAPI = PutioClient.default;
export async function getCachedStreams(streams, apiKey) {
return streams

View File

@@ -9,7 +9,7 @@
"author": "TheBeastLT <pauliox@beyond.lt>",
"license": "MIT",
"dependencies": {
"@putdotio/api-client": "^8.32.0",
"@putdotio/api-client": "^8.39.0",
"all-debrid-api": "^1.1.0",
"axios": "^1.4.0",
"bottleneck": "^2.19.5",