From 32924854b62274674184ba74a56226ba6eabe269 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Tue, 23 Apr 2024 15:36:36 +0000 Subject: [PATCH] mb --- src/libpoketube/libpoketube-core.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index 4a746cb2..63ce3720 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -70,8 +70,7 @@ class InnerTubePokeVidious { async getYouTubeApiVideo(f, v, contentlang, contentregion) { const { fetch } = await import("undici"); - const yt = await Innertube.create({ cache: new UniversalCache(false), generate_session_locally: true }); - + if (v == null) return "Gib ID"; // Check if result is already cached