mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
youtube: change innertube client to ios
This commit is contained in:
@ -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' };
|
||||
|
Reference in New Issue
Block a user