mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 04:50:13 +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 {
|
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…
x
Reference in New Issue
Block a user