youtube: replace innertube client (temp fix)
This commit is contained in:
parent
be9bb95bb6
commit
48d9177fef
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "cobalt",
|
"name": "cobalt",
|
||||||
"description": "save what you love",
|
"description": "save what you love",
|
||||||
"version": "7.12.2",
|
"version": "7.12.3",
|
||||||
"author": "wukko",
|
"author": "wukko",
|
||||||
"exports": "./src/cobalt.js",
|
"exports": "./src/cobalt.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
@ -33,7 +33,7 @@ export default async function(o) {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
info = await yt.getBasicInfo(o.id, 'ANDROID');
|
info = await yt.getBasicInfo(o.id, 'YTMUSIC_ANDROID');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return { error: 'ErrorCantConnectToServiceAPI' };
|
return { error: 'ErrorCantConnectToServiceAPI' };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue