change text to find
This commit is contained in:
parent
274ca479c6
commit
13ed6f8792
1 changed files with 3 additions and 4 deletions
|
@ -123,9 +123,9 @@ class GetYoutubeVideos:
|
|||
if not result:
|
||||
return None
|
||||
return result
|
||||
if 'Unable to connect to proxy' in f"{error}":
|
||||
if 'Failed to extract any player response' in f"{error}":
|
||||
self._log.error(
|
||||
"Error connecting to proxy '%s'",
|
||||
"Possible error connecting to proxy '%s'",
|
||||
self.selected_proxy
|
||||
)
|
||||
self.summary['videos_with_error'] += 1
|
||||
|
@ -138,8 +138,7 @@ class GetYoutubeVideos:
|
|||
# self.summary['skipped_videos'] += 1
|
||||
self.summary['skipped_videos'] += 1
|
||||
self._log.debug(
|
||||
"Skipping video. YDL: %s. Error: %s",
|
||||
ydl.params,
|
||||
"Skipping video. Error: %s",
|
||||
error
|
||||
)
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue