Fix language

This commit is contained in:
Antonio J. Delgado 2024-12-28 12:17:00 +02:00
parent f71dac44dd
commit 89f561d043

View file

@ -53,7 +53,7 @@ class GetYoutubeVideos:
'entries_count': 0,
'skipped_videos': 0,
'downloaded_videos': 0,
'error_videos': 0,
'videos_with_error': 0,
}
if os.path.exists(self.config['downloaded_database']):
with open(self.config['downloaded_database'], 'r', encoding='utf-8') as db_file:
@ -218,7 +218,7 @@ class GetYoutubeVideos:
"Error getting video. %s",
error
)
self.summary['error_videos'] += 1
self.summary['videos_with_error'] += 1
break
self.summary['downloaded_videos'] += 1
else:
@ -232,7 +232,7 @@ class GetYoutubeVideos:
"Error! Video ID not found in URI '%s'",
entry['link']
)
self.summary['error_videos'] += 1
self.summary['videos_with_error'] += 1
self.summary['entries_count'] += self.entries_count
self.summary['processed_channels'] = self.channels_count
self.summary['total_count'] = self.total_count