Add video titles
This commit is contained in:
parent
ae830321b5
commit
83a9ea2dd2
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,7 @@ class GetYoutubeVideos:
|
||||||
'possible_ban_errors': 0,
|
'possible_ban_errors': 0,
|
||||||
'age_limit_errors': 0,
|
'age_limit_errors': 0,
|
||||||
'georestricted_videos': 0,
|
'georestricted_videos': 0,
|
||||||
|
'downloaded_videos_titles': [],
|
||||||
}
|
}
|
||||||
self.selected_proxy = ''
|
self.selected_proxy = ''
|
||||||
self.proxy_index = 0
|
self.proxy_index = 0
|
||||||
|
@ -294,6 +295,7 @@ class GetYoutubeVideos:
|
||||||
)
|
)
|
||||||
self.summary['videos_with_error'] += 1
|
self.summary['videos_with_error'] += 1
|
||||||
break
|
break
|
||||||
|
self.summary['downloaded_videos_titles'].append(video_info.get('title', '?'))
|
||||||
self.summary['downloaded_videos'] += 1
|
self.summary['downloaded_videos'] += 1
|
||||||
else:
|
else:
|
||||||
self._log.debug(
|
self._log.debug(
|
||||||
|
|
Loading…
Reference in a new issue