mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-28 04:20:12 +02:00
youtube: change innertube client to ios
This commit is contained in:
parent
85bed9aa74
commit
4c8cd9dd30
@ -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…
x
Reference in New Issue
Block a user