youtube: always use the iOS client

This commit is contained in:
wukko 2024-08-02 18:25:07 +06:00
parent f57c08785e
commit 650c14f2da
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

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