joshunrau / ytdl-mp3

An npm package to facilitate downloading music from YouTube, including automatic retrieval of ID3 tags and album art via the iTunes public API
https://www.npmjs.com/package/ytdl-mp3
MIT License
24 stars 12 forks source link

Issue - error: missing required argument 'url' ( at this line -> const { Downloader } = require('ytdl-mp3'); ) #66

Closed Jayanth-j-FSD closed 3 months ago

Jayanth-j-FSD commented 3 months ago

while importing the package is says "error: missing required argument 'url' "

any fix or format to be used for this issue ?

0 const express = require('express'); 1 const bodyParser = require('body-parser'); 2 const ytdl = require('ytdl-core'); 3 const { Downloader } = require('ytdl-mp3'); 4 const cors = require('cors'); 5 const app = express();

this is how my imports are, and it is breaking in line no 3

joshunrau commented 3 months ago

Fixed via 85d99525761a082cc7ba4487688d33cdacd8f853

If you install the latest version it should work now