A yt-dlp web server, powered by yt-dlp.
Intended to provide raw video url and other metadata as a json payload, not as a streaming server.
npm install
npm start
GET /watch?v=<YOUTUBE_VIDEO_ID_HERE>
Redirects to the raw video url. One of -v or -u must be provided. If both are provided,
-u will be ignored.
- v - Url or ID of the video, same as the url parameter of GET /v1/video
- u - A video URL supported by yt-dlp, in base64 encoding