mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 03:17:44 +03:00
[extractor]add a parameter "keep_obj" to forbid VideoExtractor re-init after download instance method
This commit is contained in:
parent
c2d8729e35
commit
2652a3fe6c
@ -244,5 +244,6 @@ class VideoExtractor():
|
||||
|
||||
# For main_dev()
|
||||
#download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size'])
|
||||
|
||||
self.__init__()
|
||||
keep_obj = kwargs.get('keep_obj', False)
|
||||
if not keep_obj:
|
||||
self.__init__()
|
||||
|
Loading…
x
Reference in New Issue
Block a user