From cb8884e1c946ad00845e0477256e734bb1886a79 Mon Sep 17 00:00:00 2001 From: Mort Yao Date: Fri, 25 Jul 2014 21:31:46 +0200 Subject: [PATCH] fix output_dir and merge options --- src/you_get/extractor.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/you_get/extractor.py b/src/you_get/extractor.py index 94d54ca3..154b12da 100644 --- a/src/you_get/extractor.py +++ b/src/you_get/extractor.py @@ -173,7 +173,9 @@ class VideoExtractor(): log.e('This is most likely because the video has not been made available in your country.') log.e('You may try to use a proxy via \'-y\' for extracting stream data.') exit(1) - #download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size'], output_dir=kwargs['output_dir'], merge=kwargs['merge']) - download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size']) + # For legacy main() + download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size'], output_dir=kwargs['output_dir'], merge=kwargs['merge']) + # For main_dev() + #download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size']) self.__init__()