mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 06:42:21 +00:00
Merge pull request #425 from danut007ro/master
Provider (youtube, etc) is now saved in info_dict
This commit is contained in:
commit
05a2c206be
@ -475,6 +475,7 @@ class FileDownloader(object):
|
|||||||
videos = ie.extract(url)
|
videos = ie.extract(url)
|
||||||
for video in videos or []:
|
for video in videos or []:
|
||||||
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 New Issue
Block a user