mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-01 12:46:07 +00:00
youtube: replace innertube client
This commit is contained in:
parent
617e427088
commit
9bd3ea40e0
|
@ -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