mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 00:58:58 +01:00
mb
This commit is contained in:
parent
d019ad69ed
commit
32924854b6
1 changed files with 1 additions and 2 deletions
|
@ -70,8 +70,7 @@ class InnerTubePokeVidious {
|
||||||
async getYouTubeApiVideo(f, v, contentlang, contentregion) {
|
async getYouTubeApiVideo(f, v, contentlang, contentregion) {
|
||||||
|
|
||||||
const { fetch } = await import("undici");
|
const { fetch } = await import("undici");
|
||||||
const yt = await Innertube.create({ cache: new UniversalCache(false), generate_session_locally: true });
|
|
||||||
|
|
||||||
if (v == null) return "Gib ID";
|
if (v == null) return "Gib ID";
|
||||||
|
|
||||||
// Check if result is already cached
|
// Check if result is already cached
|
||||||
|
|
Loading…
Reference in a new issue