1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01: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 @@ def download(self, url_list):
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: