diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-12 21:56:50 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-12 21:56:50 +0600 |
commit | 9f4323252abade4f10b0884682f92cedc78b4d4a (patch) | |
tree | fafb03755ba8314469270ca1ff93ecd8cb73e4cd /youtube_dl/YoutubeDL.py | |
parent | d22dec74ffa2a53a1c04770af37d39f384f3d56c (diff) |
[YoutubeDL] Fix for multiple URLs
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 4b801a917..8dbad7cf8 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -283,7 +283,6 @@ class YoutubeDL(object): self._num_downloads = 0 self._screen_file = [sys.stdout, sys.stderr][params.get('logtostderr', False)] self._err_file = sys.stderr - self._force_generic_extractor_required = params.get('force_generic_extractor', False) self.params = params self.cache = Cache(self) @@ -1504,6 +1503,7 @@ class YoutubeDL(object): for url in url_list: try: + self._force_generic_extractor_required = self.params.get('force_generic_extractor', False) # It also downloads the videos res = self.extract_info(url) except UnavailableVideoError: |