Skip to content

Commit

Permalink
youtube: replace innertube client (temp fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
wukko committed Mar 30, 2024
1 parent be9bb95 commit 48d9177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/processing/services/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' };
}
Expand Down

0 comments on commit 48d9177

Please sign in to comment.