Download youtube-dl with composer (fixes #35)

This commit is contained in:
Pierre Rudloff 2015-10-29 19:02:19 +01:00
parent 347ec92f35
commit 05b144cb7b
5 changed files with 89 additions and 6 deletions

View file

@ -11,7 +11,7 @@
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro
* */
define('YOUTUBE_DL', './youtube-dl');
define('YOUTUBE_DL', __DIR__.'/vendor/rg3/youtube-dl/youtube_dl/__main__.py');
define('PYTHON', '/usr/bin/python');
define('PARAMS', '--no-playlist --no-warnings -f best');
if (getenv('CONVERT')) {