diff --git a/get_youtube_videos/get_youtube_videos.py b/get_youtube_videos/get_youtube_videos.py index 1dff8fc..cbc1ebb 100644 --- a/get_youtube_videos/get_youtube_videos.py +++ b/get_youtube_videos/get_youtube_videos.py @@ -318,8 +318,8 @@ class GetYoutubeVideos: ) except yt_dlp.utils.DownloadError as error: self._log.error( - "Error getting video with proxy %s. %s", - ydl_opts['proxy'], + "Error getting video with proxy '%s'. %s", + self.selected_proxy, error ) self.summary['videos_with_error'] += 1