youtube: change innertube client to ios

This commit is contained in:
wukko 2024-06-07 14:52:55 +06:00
parent 85bed9aa74
commit 4c8cd9dd30
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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' };