aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/FileDownloader.py
diff options
context:
space:
mode:
authordanut007ro <danut007ro@yahoo.com>2012-09-27 00:07:20 +0300
committerdanut007ro <danut007ro@yahoo.com>2012-09-27 00:07:20 +0300
commit3cd98c7894d2523752230d9fa3307e6e39723218 (patch)
tree352f1f34b17f1df89541cd974de0743f886ba835 /youtube_dl/FileDownloader.py
parent2866e68838b146708990fab2ff38a2674f074b13 (diff)
Removed provider (mistake) and add provider parameter to process_info
Diffstat (limited to 'youtube_dl/FileDownloader.py')
-rw-r--r--youtube_dl/FileDownloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py
index 14e872a98..1c5eeeabe 100644
--- a/youtube_dl/FileDownloader.py
+++ b/youtube_dl/FileDownloader.py
@@ -341,7 +341,7 @@ class FileDownloader(object):
return u'"' + title + '" title matched reject pattern "' + rejecttitle + '"'
return None
- def process_info(self, info_dict):
+ def process_info(self, info_dict, provider):
"""Process a single dictionary returned by an InfoExtractor."""
info_dict['stitle'] = sanitize_filename(info_dict['title'])
@@ -476,7 +476,7 @@ class FileDownloader(object):
for video in videos or []:
try:
self.increment_downloads()
- self.process_info(video)
+ self.process_info(video, ie.IE_NAME)
except UnavailableVideoError:
self.trouble(u'\nERROR: unable to download video')