Browse Source

Add new field "extractor" to the info dictionary

master
Philipp Hagemeister 12 years ago
parent
commit
5a5523698d
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/FileDownloader.py

2
youtube_dl/FileDownloader.py

@ -474,8 +474,8 @@ class FileDownloader(object):
# Extract information from URL and process it # Extract information from URL and process it
videos = ie.extract(url) videos = ie.extract(url)
for video in videos or []: for video in videos or []:
video['extractor'] = ie.IE_NAME
try: try:
video['provider'] = ie.IE_NAME
self.increment_downloads() self.increment_downloads()
self.process_info(video) self.process_info(video)
except UnavailableVideoError: except UnavailableVideoError:

Loading…
Cancel
Save