1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

Add new field "extractor" to the info dictionary

This commit is contained in:
Philipp Hagemeister 2012-09-27 20:48:16 +02:00
parent 05a2c206be
commit 5a5523698d

View file

@ -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: