From 5dbeb09daacd4472f99f88c18f8c4103729dfd7a Mon Sep 17 00:00:00 2001 From: Mort Yao Date: Tue, 24 Jun 2014 12:49:04 +0200 Subject: [PATCH] cleanup after download or info_only --- src/you_get/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/you_get/common.py b/src/you_get/common.py index dfccd436..d4a9d562 100644 --- a/src/you_get/common.py +++ b/src/you_get/common.py @@ -1022,6 +1022,7 @@ class VideoExtractor(): else: # Display all available streams self.p([]) + else: if 'stream_id' in kwargs and kwargs['stream_id']: # Download the stream @@ -1040,4 +1041,4 @@ class VideoExtractor(): 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']) - self.__init__() + self.__init__()