mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01: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