From: Philipp Hagemeister Date: Thu, 27 Sep 2012 18:48:16 +0000 (+0200) Subject: Add new field "extractor" to the info dictionary X-Git-Tag: 2012.10.09~19 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=5a5523698d39a25d6c123f2e1238b36dab0bed0d;p=youtube-dl.git Add new field "extractor" to the info dictionary --- diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 793fc3daf3..38c6a519a0 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: