fent / fent/node-ytdl-core

Bug: doesn't work under Windows 10.

Open
#1,174 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.7k
Forks
852
PR merge metrics
No merged PRs in 30d

Description

# Bug: doesn't work under Windows 10.

This is my code:
```javascript
const ytdl = require('ytdl-core');
function downloadVideo(url, options, writeStream = null) {
const readStream = ytdl(url.toString(), options || { quality: 18 });
writeStream && writeStream.pipe(writeStream);
return readStream;
}

exports.downloadVideo = downloadVideo;
```
I'm getting good audio under Linux (Termux), but no audio at all under Windows. I checked, and I think whether or not FFMPEG is installed doesn't matter.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.