anyaudio / anyaudio-server

:musical_note: Simple server to search youtube and give direct audio download and stream links
91 stars 19 forks source link

Use YoutubeDL python wrapper to extract download info #9

Closed aviaryan closed 8 years ago

aviaryan commented 8 years ago

Right now we are using youtube-dl command-line call to get the download url. A more flexible option is to use the Python wrapper. This will allow to get other additional information about the download which is otherwise un-accessible from a single command-line call.

http://stackoverflow.com/questions/32118510/how-to-extract-file-size-from-youtube-dl-in-python-script

singhpratyush commented 8 years ago

I think this issue can be closed as we have seen the results.