diff --git a/get_youtube_videos/get_youtube_videos.py b/get_youtube_videos/get_youtube_videos.py index f107c7c..eaf9980 100644 --- a/get_youtube_videos/get_youtube_videos.py +++ b/get_youtube_videos/get_youtube_videos.py @@ -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