kopia lustrzana https://github.com/ytdl-org/youtube-dl
Add new field "extractor" to the info dictionary
rodzic
05a2c206be
commit
5a5523698d
|
@ -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:
|
||||||
|
|
Ładowanie…
Reference in New Issue