projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check for avconv and ffmpeg, use as available; closes #344
[youtube-dl]
/
youtube_dl
/
FileDownloader.py
diff --git
a/youtube_dl/FileDownloader.py
b/youtube_dl/FileDownloader.py
index 2bc0b0d4e98d4294984ce87ca22238ca8e08b621..14e872a98a922606b8a3f3ea15a9d3d61ef87274 100644
(file)
--- a/
youtube_dl/FileDownloader.py
+++ b/
youtube_dl/FileDownloader.py
@@
-344,6
+344,8
@@
class FileDownloader(object):
def process_info(self, info_dict):
"""Process a single dictionary returned by an InfoExtractor."""
def process_info(self, info_dict):
"""Process a single dictionary returned by an InfoExtractor."""
+ info_dict['stitle'] = sanitize_filename(info_dict['title'])
+
reason = self._match_entry(info_dict)
if reason is not None:
self.to_screen(u'[download] ' + reason)
reason = self._match_entry(info_dict)
if reason is not None:
self.to_screen(u'[download] ' + reason)