node-ytdl-core
node-ytdl-core copied to clipboard
Error: No such format found
I'm trying to download a certain video based on the itags I'm able to get.
For this specific video, when I do a ytdl.getInfo it shows me that the specific support itags are as follows:
{'22', '43', '18', '137', '248', '136', '247', '135', '244', '134', '243', '133', '242', '160', '278', '251', '140', '250', '249' }
22, which I believe correlates to 720p video+audio, doesn't seem to work when I do a `
ytdl(url, options)
.pipe(res);
on it.
I'm quite possibly doing something wrong - but on the off chance that this is a bug, is there anyway I can get around it? :)
Note: I am getting the available formats from info.formats.[format].itag