mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-21 12:48:28 +00:00
update youtubei.js and change client back (#412)
This commit is contained in:
commit
78b60a72a8
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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' };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user