1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-23 01:52:53 +08:00

Merge pull request #425 from danut007ro/master

Provider (youtube, etc) is now saved in info_dict
This commit is contained in:
Philipp Hagemeister 2012-09-27 11:45:07 -07:00
commit 05a2c206be

View File

@ -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: