1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00: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: