mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
cleanup after download or info_only
This commit is contained in:
parent
1411c8986e
commit
5dbeb09daa
@ -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__()
|
||||
|
Loading…
Reference in New Issue
Block a user