aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/FileDownloader.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-09-27 20:48:16 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2012-09-27 20:48:16 +0200
commit5a5523698d39a25d6c123f2e1238b36dab0bed0d (patch)
treeb10a0f314994553a9daf0d89d113b67faee25e5b /youtube_dl/FileDownloader.py
parent05a2c206bebcfc430962aa733cd6271c40339c16 (diff)
downloadyoutube-dl-5a5523698d39a25d6c123f2e1238b36dab0bed0d.tar.xz
Add new field "extractor" to the info dictionary
Diffstat (limited to 'youtube_dl/FileDownloader.py')
-rw-r--r--youtube_dl/FileDownloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py
index 793fc3daf..38c6a519a 100644
--- a/youtube_dl/FileDownloader.py
+++ b/youtube_dl/FileDownloader.py
@@ -474,8 +474,8 @@ class FileDownloader(object):
# Extract information from URL and process it
videos = ie.extract(url)
for video in videos or []:
+ video['extractor'] = ie.IE_NAME
try:
- video['provider'] = ie.IE_NAME
self.increment_downloads()
self.process_info(video)
except UnavailableVideoError: