diff --git a/get_youtube_videos/get_youtube_videos.py b/get_youtube_videos/get_youtube_videos.py index 121057c..6c71857 100644 --- a/get_youtube_videos/get_youtube_videos.py +++ b/get_youtube_videos/get_youtube_videos.py @@ -413,7 +413,7 @@ class GetYoutubeVideos: "Requested format is not available, trying best format." ) ydl_opts['format'] = 'bestvideo+bestaudio[ext=m4a]/best' - download_result = 'retrying (format error)' + download_result = 'retrying (format failure)' elif 'Unable to download video subtitles for' in f"{error}": regex = r"Unable to download video subtitles for '([a-z]*)'" subtitle_match = re.search( @@ -431,7 +431,7 @@ class GetYoutubeVideos: f"The language '{language}' is not available, removing from list: {', '.join(ydl_opts['subtitleslangs'])}" ) ydl_opts['subtitleslangs'].remove(language) - download_result = 'retrying (subtitles error)' + download_result = 'retrying (subtitles failure)' else: self._log.error( f"The language '{language}' is not available, but is not present in list: {', '.join(ydl_opts['subtitleslangs'])}"