Hi everyone,

Although youtube-dl is provided as a user application, it is actually
possible to call it from python2 (but not python3 currently for some
reason) using `import youtube_dl'.

README.md has this feature docmented
(https://github.com/rg3/youtube-dl/blob/master/README.md#embedding-youtube-dl)
recently.

To make youtube-dl works with python3 as well, my initial thought is
to make youtube-dl a shell script and then pass the original
youtube-dl python scipt as a here-doc to the python2/python3
interpreter. I don't think this sounds hackish and could be done
easily.

If I have time, I will submit a patch.

Cheers,
Alex

Reply via email to