From 4c8cd9dd30181da072b1555a47fde705103610e7 Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 7 Jun 2024 14:52:55 +0600 Subject: [PATCH] youtube: change innertube client to ios --- 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 fae4e04d..f350612a 100644 --- a/src/modules/processing/services/youtube.js +++ b/src/modules/processing/services/youtube.js @@ -61,7 +61,7 @@ export default async function(o) { } try { - info = await yt.getBasicInfo(o.id, 'WEB'); + info = await yt.getBasicInfo(o.id, 'IOS'); } catch(e) { if (e?.message === 'This video is unavailable') { return { error: 'ErrorCouldntFetch' };