mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
Removed provider (mistake) and add provider parameter to process_info
This commit is contained in:
@@ -341,7 +341,7 @@ def _match_entry(self, info_dict):
|
||||
return u'"' + title + '" title matched reject pattern "' + rejecttitle + '"'
|
||||
return None
|
||||
|
||||
def process_info(self, info_dict):
|
||||
def process_info(self, info_dict, provider):
|
||||
"""Process a single dictionary returned by an InfoExtractor."""
|
||||
|
||||
info_dict['stitle'] = sanitize_filename(info_dict['title'])
|
||||
@@ -476,7 +476,7 @@ def download(self, url_list):
|
||||
for video in videos or []:
|
||||
try:
|
||||
self.increment_downloads()
|
||||
self.process_info(video)
|
||||
self.process_info(video, ie.IE_NAME)
|
||||
except UnavailableVideoError:
|
||||
self.trouble(u'\nERROR: unable to download video')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user