youtube: replace innertube client (temp fix)

This commit is contained in:
wukko 2024-03-30 14:14:22 +06:00
parent be9bb95bb6
commit 48d9177fef
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{
"name": "cobalt",
"description": "save what you love",
"version": "7.12.2",
"version": "7.12.3",
"author": "wukko",
"exports": "./src/cobalt.js",
"type": "module",

View file

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