youtube: return the android client
ios client just kills streams most of the time for some reason
This commit is contained in:
parent
650c14f2da
commit
7f12f4c2d3
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ export default async function(o) {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
info = await yt.getBasicInfo(o.id, 'IOS');
|
info = await yt.getBasicInfo(o.id, yt.session.logged_in ? 'ANDROID' : 'IOS');
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
if (e?.message === 'This video is unavailable') {
|
if (e?.message === 'This video is unavailable') {
|
||||||
return { error: 'ErrorCouldntFetch' };
|
return { error: 'ErrorCouldntFetch' };
|
||||||
|
|
Loading…
Reference in a new issue