nexusdlp
v1.0.0
Published
YouTube Video & Audio Downloader - 100% Pure Python stdlib backend with Node.js & CLI integration
Maintainers
Readme
nexusdlp (npm package)
YouTube Video & Audio Downloader — Node.js & CLI Wrapper for NexusDLP
NexusDLP is a fast YouTube video and audio downloader written 100% in pure Python (zero 3rd party Python dependencies), with 8-connection parallel turbo downloads, native MP4 container remuxing, metadata/cover tagging, and clean Node.js integration.
🛠️ Installation
npm install -g nexusdlpOr install locally in your Node.js project:
npm install nexusdlpRequirement: Requires Python 3.11+ installed on the host system.
💻 CLI Usage
# Download video in best quality
npx nexusdlp https://www.youtube.com/watch?v=dQw4w9WgXcQ
# Download audio only with cover art & metadata embedded
npx nexusdlp https://www.youtube.com/watch?v=dQw4w9WgXcQ --audio-only
# List available formats table
npx nexusdlp https://www.youtube.com/watch?v=dQw4w9WgXcQ -F
# Download 1080p video to a custom output file
npx nexusdlp https://www.youtube.com/watch?v=dQw4w9WgXcQ -f 1080p -o my_video.mp4🐍 Node.js Programmatic API
const nexusdlp = require('nexusdlp');
async function main() {
// 1. Extract metadata object
const info = await nexusdlp.extractInfo('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
console.log('Title:', info.title);
console.log('Author:', info.author);
console.log('Duration:', info.length_seconds, 'seconds');
// 2. Download audio with cover art & tags
await nexusdlp.download('https://www.youtube.com/watch?v=dQw4w9WgXcQ', {
audioOnly: true,
output: 'song.m4a'
});
// 3. Download 1080p video
await nexusdlp.download('https://www.youtube.com/watch?v=dQw4w9WgXcQ', {
format: '1080p',
output: 'video.mp4'
});
}
main();📄 License
MIT © NexusDLP
