From 650c14f2da309311431f31271f345355046b2cef Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 2 Aug 2024 18:25:07 +0600 Subject: [PATCH] youtube: always use the iOS client --- src/modules/processing/services/youtube.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/processing/services/youtube.js b/src/modules/processing/services/youtube.js index d3ee5602..1bf4d4ce 100644 --- a/src/modules/processing/services/youtube.js +++ b/src/modules/processing/services/youtube.js @@ -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' };