I have succesfully installed youtube-dl on my dedicated server and from command line everything is working like a charm.
Now I want to be able to call a link on my site from my web browser which directly initiates a download of the file. So in that order:
[url removed, login to view] site in browser (for example [url removed, login to view])
2.YouTube-dl processes the input
3.Web-browser downloads file to user's computer