add debug for no subs

This commit is contained in:
Antonio J. Delgado 2025-08-10 12:27:24 +03:00
parent 4e9f44a2d2
commit e67e85eefb

View file

@ -292,6 +292,10 @@ class GetYoutubeVideos:
for subtitle in self.config['subtitle_langs']:
if subtitle in video_info['subtitles']:
downloadable_subtitles.append(subtitle)
else:
self._log.debug(
'There are no subtitles available.'
)
info_filename = os.path.join(
self.config['download_dir'],
f"{video_id}.json"