From: Philipp Hagemeister Date: Thu, 27 Sep 2012 18:48:16 +0000 (+0200) Subject: Add new field "extractor" to the info dictionary X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=5a5523698d39a25d6c123f2e1238b36dab0bed0d;p=youtube-dl Add new field "extractor" to the info dictionary --- 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: