mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
youtube: always use the iOS client
This commit is contained in:
parent
f57c08785e
commit
650c14f2da
1 changed files with 1 additions and 1 deletions
|
@ -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' };
|
||||
|
|
Loading…
Reference in a new issue