mirror of
https://github.com/soimort/you-get.git
synced 2025-02-09 03:37:52 +03:00
cleanup after download or info_only
This commit is contained in:
parent
1411c8986e
commit
5dbeb09daa
@ -1022,6 +1022,7 @@ class VideoExtractor():
|
|||||||
else:
|
else:
|
||||||
# Display all available streams
|
# Display all available streams
|
||||||
self.p([])
|
self.p([])
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if 'stream_id' in kwargs and kwargs['stream_id']:
|
if 'stream_id' in kwargs and kwargs['stream_id']:
|
||||||
# Download the stream
|
# Download the stream
|
||||||
@ -1040,4 +1041,4 @@ class VideoExtractor():
|
|||||||
exit(1)
|
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'], output_dir=kwargs['output_dir'], merge=kwargs['merge'])
|
||||||
|
|
||||||
self.__init__()
|
self.__init__()
|
||||||
|
Loading…
Reference in New Issue
Block a user