projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d22dec7
)
[YoutubeDL] Fix for multiple URLs
author
Sergey M․
<dstftw@gmail.com>
Fri, 12 Jun 2015 15:56:50 +0000
(21:56 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 12 Jun 2015 15:56:50 +0000
(21:56 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 4b801a9177a2a74f342d40fa97c3e925156ecd45..8dbad7cf861c4b048c2574d38e4b4d5090847436 100755
(executable)
--- 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._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)
self.params = params
self.cache = Cache(self)
@@
-1504,6
+1503,7
@@
class YoutubeDL(object):
for url in url_list:
try:
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:
# It also downloads the videos
res = self.extract_info(url)
except UnavailableVideoError: