mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
youtube: change innertube client to ios
This commit is contained in:
parent
85bed9aa74
commit
4c8cd9dd30
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export default async function(o) {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
info = await yt.getBasicInfo(o.id, 'WEB');
|
info = await yt.getBasicInfo(o.id, '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