mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-21 13:32:55 +08:00
Add new field "extractor" to the info dictionary
This commit is contained in:
parent
05a2c206be
commit
5a5523698d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user