mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 09:12:40 +01:00
[YoutubeDL] Fix for multiple URLs
This commit is contained in:
parent
d22dec74ff
commit
9f4323252a
@ -283,7 +283,6 @@ def __init__(self, params=None, auto_init=True):
|
|||||||
self._num_downloads = 0
|
self._num_downloads = 0
|
||||||
self._screen_file = [sys.stdout, sys.stderr][params.get('logtostderr', False)]
|
self._screen_file = [sys.stdout, sys.stderr][params.get('logtostderr', False)]
|
||||||
self._err_file = sys.stderr
|
self._err_file = sys.stderr
|
||||||
self._force_generic_extractor_required = params.get('force_generic_extractor', False)
|
|
||||||
self.params = params
|
self.params = params
|
||||||
self.cache = Cache(self)
|
self.cache = Cache(self)
|
||||||
|
|
||||||
@ -1504,6 +1503,7 @@ def download(self, url_list):
|
|||||||
|
|
||||||
for url in url_list:
|
for url in url_list:
|
||||||
try:
|
try:
|
||||||
|
self._force_generic_extractor_required = self.params.get('force_generic_extractor', False)
|
||||||
# It also downloads the videos
|
# It also downloads the videos
|
||||||
res = self.extract_info(url)
|
res = self.extract_info(url)
|
||||||
except UnavailableVideoError:
|
except UnavailableVideoError:
|
||||||
|
Loading…
Reference in New Issue
Block a user