add message

This commit is contained in:
Antonio J. Delgado 2024-12-29 17:51:51 +02:00
parent 77f9c431f3
commit 28e5fc1be4

View file

@ -124,6 +124,10 @@ class GetYoutubeVideos:
return None
return result
if 'Unable to connect to proxy' in f"{error}":
self._log.error(
"Error connecting to proxy '%s'",
self.selected_proxy
)
self.summary['videos_with_error'] += 1
self.summary['possible_proxy_errors'] += 1
result = self._change_proxy(video_id)