- Add
/api/play
endpoint. (Adapted from a patch by eadmaster in PR #46) - Add
/api/version
endpoint. (Added by Carlos Ramos in PR #43) - Pass the
format
parameter to theYoutubeDL
object. - Add
--number-processes
option for choosing the number of processes the server will use, defaults to 5. (Added by Carlos Ramos in PR #42) - Provide a
Blueprint
for the API.
/api/
no longer redirects to/api/info
.- Change default value of the
flatten
parameter toFalse
and deprecate it. - Add
--host
option 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
format
parameter tobest
. Since version2015.04.26
it usesbestvideo+bestaudio/best
if ffmpeg/libav is installed. - Allow passing some extra parameters directly to the
YoutubeDL
object.
- 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
flatten
option to/api/info
to select between a single dictionary result or a list of videos, it'sTrue
by default.