mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +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 {
|
||||
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' };
|
||||
|
|
Loading…
Reference in a new issue