how can i get the content length before piping
Open
stale
- Dominant language
- JavaScript
- Stars
- 4.7k
- Forks
- 852
- PR merge metrics
- No merged PRs in 30d
Description
i want to get the length of the stream file before piping it to the writable stream.
`let video = ytdl(url,{filter: 'videoonly', quality:itag})`
i want to get the exact content length of the video that is selected by this code, the length we will get when we use 'progess' event.
`video.on('progess', (_, _, totalsize)=> console.log(totalsize))`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.