Stream redirector based on youtube-dl.
This program will redirect you to the direct stream URL for a given live stream in a given youtube-dl format.
You can also specify the stream URL and format directly in the request URL using one of the following syntaxes:
The direct stream URL is returned both in the response's Location header and as the response's body. Not found, gone, bad request, and internal application errors use the proper HTTP status codes.
- Python 3
- PHP 5.6+
- GNU make
make. Currently, this just runs
npm installto pull in client-side libraries.
Configure your server to use
index.phpas the 404 handler for the path from which the application is served.
Serve the application from its own domain or subdomain.
ytdl-urld, serving on localhost TCP port 26298 (which it does by default).
index.confand modify it as desired.
(Optional) Add a
favicon.icofile to the root directory.
The following options may be set in
index.conf, which is parsed as a
PHP INI file:
A value with which request URLs must be prefixed in order to be considered
valid. If this is set and not empty, then non-prefixed requests will result
in either 404 errors or (for the root if
A URL to which non-prefixed requests for the application's root will be redirected. If this is unset or empty, then non-prefixed requests for the root will result in 404 errors.