- Fixed 429 Errors by adding proxy support. - Changed playlist_info function. It takes 2 parameter [ incomplete, proxy ] as a second option. - Changed video_info and video_info function. It takes 2 parameter [ cookie, proxy ] as a second option. - Fixed soundcloud regexp issues where api.soundcloud.com is not recognized as a valid url. - Changed authorization setup messages. - Fixed issues where aborted error comes at any random point. - Removed 2 hour timer from YT Stream - Fixed errors where some age restricted videos are not being able to play.
Why play-dl ?
ytdl-core has some issues with miniget and also stream abort issues. On the other hand, youtube-dl is a very perfect alternative but it takes time to launch. Hence, play-dl is created to avoid these issues along with providing comparatively faster performance than others.
Support
You can contact us for support on our chat server
Stream videos/playlists or search for videos
This is a light-weight youtube downloader and searcher.
- searches by video, playlist, channel
- obtains audio playback url
Installation
npm install play-dl@latest
Importing
import * as play from 'play-dl' // ES-6 import or TS import
const play = require('play-dl') //JS importing
Instructions
- 1.0 release change brings some code changes, make sure to read docs once again.
- Spotify
- SoundCloud
Examples
Docs
Description
Languages
TypeScript
100%