Skip to content

Commit

Permalink
youtube: always use the iOS client
Browse files Browse the repository at this point in the history
  • Loading branch information
wukko committed Aug 2, 2024
1 parent f57c087 commit 650c14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/processing/services/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default async function(o) {
}

try {
info = await yt.getBasicInfo(o.id, yt.session.logged_in ? 'ANDROID' : 'IOS');
info = await yt.getBasicInfo(o.id, 'IOS');
} catch(e) {
if (e?.message === 'This video is unavailable') {
return { error: 'ErrorCouldntFetch' };
Expand Down

0 comments on commit 650c14f

Please sign in to comment.