forked from github-mirror/Verome-API
Use deno.land/x/youtubei for Deno Deploy compatibility
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
"dev": "deno run --watch --allow-net --allow-env --allow-read mod.ts"
|
||||
},
|
||||
"imports": {
|
||||
"std/": "https://deno.land/std@0.208.0/",
|
||||
"youtubei.js": "npm:youtubei.js@latest"
|
||||
"std/": "https://deno.land/std@0.208.0/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"strict": true
|
||||
|
||||
2
mod.ts
2
mod.ts
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
import { serve } from "https://deno.land/std@0.208.0/http/server.ts";
|
||||
import { Innertube } from "youtubei.js";
|
||||
import { Innertube } from "https://deno.land/x/youtubei@v12.2.0/deno.ts";
|
||||
import { YTMusic, YouTubeSearch, LastFM, fetchFromPiped, fetchFromInvidious, getLyrics, getTrendingMusic, getRadio, getTopArtists, getTopTracks, getArtistInfo, getTrackInfo, getSongComplete, getAlbumComplete, getArtistComplete, getFullChain } from "./lib.ts";
|
||||
import { html as uiHtml } from "./ui.ts";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user