node-ytdl-core icon indicating copy to clipboard operation
node-ytdl-core copied to clipboard

Method getInfo(url) with most of the hasVideo or hasAudio false and download only audio or video. Not a proper video.

Open matifzia opened this issue 2 years ago • 1 comments

Critical issue Hi, I am here to let you know that I am using the latest version 4.11.5. I am facing a weird behavior for the getInfo(url) method. Most of the time, I can see that almost every video

misses audio/video for different formats. Even we can't download a proper video in 720 using const downloadStream = ytdl(videoId, { quality: itag }); because "itag" I am using from getInfo(url) gives us most of the videos with hasAudio: false or hasVideo: false. Here is the sample response I am getting. Please take a look at the attachments for the complete response and screenshots for better understanding.

Screenshot from 2024-01-09 09-34-21 Screenshot from 2024-01-09 09-34-35 issue.txt

Please it is my humble request to update it to have a minimum of 1080p with "hasAudio" and "hasVideo" true and enable to download it.

matifzia avatar Jan 09 '24 04:01 matifzia

You don't have to use itag, you can use {quality: video} in options

aervxa avatar Jan 15 '24 06:01 aervxa