update youtubei.js and change client back (#412)

This commit is contained in:
wukko 2024-03-31 23:46:45 +06:00 committed by GitHub
commit 78b60a72a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -40,6 +40,6 @@
"set-cookie-parser": "2.6.0",
"undici": "^6.7.0",
"url-pattern": "1.0.3",
"youtubei.js": "^9.1.0"
"youtubei.js": "^9.2.0"
}
}

View File

@ -33,7 +33,7 @@ export default async function(o) {
}
try {
info = await yt.getBasicInfo(o.id, 'YTMUSIC_ANDROID');
info = await yt.getBasicInfo(o.id, 'ANDROID');
} catch (e) {
return { error: 'ErrorCantConnectToServiceAPI' };
}