From 5a5523698d39a25d6c123f2e1238b36dab0bed0d Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 27 Sep 2012 20:48:16 +0200 Subject: [PATCH] Add new field "extractor" to the info dictionary --- youtube_dl/FileDownloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: