mirror of
https://github.com/soimort/you-get.git
synced 2025-03-14 20:04:00 +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()
|
# For main_dev()
|
||||||
#download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size'])
|
#download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size'])
|
||||||
|
keep_obj = kwargs.get('keep_obj', False)
|
||||||
|
if not keep_obj:
|
||||||
self.__init__()
|
self.__init__()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user