- Add
/api/playendpoint. (Adapted from a patch by eadmaster in PR #46) - Add
/api/versionendpoint. (Added by Carlos Ramos in PR #43) - Pass the
formatparameter to theYoutubeDLobject. - Add
--number-processesoption for choosing the number of processes the server will use, defaults to 5. (Added by Carlos Ramos in PR #42) - Provide a
Blueprintfor the API.
/api/no longer redirects to/api/info.- Change default value of the
flattenparameter toFalseand deprecate it. - Add
--hostoption for choosing the server address. (Added by Alexandr Korsak in PR #26) - Add instructions and sample file for deploying to Heroku. (Thanks to Ronald Ip, see PR #28)
- Force the youtube-dl
formatparameter tobest. Since version2015.04.26it usesbestvideo+bestaudio/bestif ffmpeg/libav is installed. - Allow passing some extra parameters directly to the
YoutubeDLobject.
- Fix disabling the youtube-dl's cache in latest versions.
- Fix access to the version string of youtube-dl in the last versions.
- The endpoint for getting the video information is now
/api/info./api/redirects now to it, but it's deprecated and will be removed in a future version. - The server can be run now with
python -m youtube_dl_server. - Added
flattenoption to/api/infoto select between a single dictionary result or a list of videos, it'sTrueby default.