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