mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 18:46:09 +00:00
youtube: replace innertube client (temp fix)
This commit is contained in:
parent
be9bb95bb6
commit
48d9177fef
|
@ -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",
|
||||
|
|
|
@ -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' };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue