fully remove youtube.js

This commit is contained in:
localhost 2026-05-25 10:19:00 +02:00
parent 7791f92a56
commit e14f9a74fa
1 changed files with 0 additions and 2 deletions

View File

@ -1,4 +1,3 @@
import { Innertube } from 'youtubei.js'
import healthStatus from '@/utils/health'; import healthStatus from '@/utils/health';
import { db } from '@/utils/database' import { db } from '@/utils/database'
import { getChannelVideos } from './utils/metadata'; import { getChannelVideos } from './utils/metadata';
@ -8,7 +7,6 @@ if (healthStatus[process.env.METADATA!] != 'healthy') {
websocket = process.env.ALTERNATIVE_WEBSOCKET! websocket = process.env.ALTERNATIVE_WEBSOCKET!
} }
const yt = await Innertube.create();
const channels = await db.selectFrom('autodownload') const channels = await db.selectFrom('autodownload')
.selectAll() .selectAll()
.execute() .execute()