mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 00:22:09 +00:00
Add new field "extractor" to the info dictionary
This commit is contained in:
parent
05a2c206be
commit
5a5523698d
1 changed files with 1 additions and 1 deletions
|
@ -474,8 +474,8 @@ def download(self, url_list):
|
||||||
# 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…
Reference in a new issue