add debug for no subs
This commit is contained in:
parent
4e9f44a2d2
commit
e67e85eefb
1 changed files with 4 additions and 0 deletions
|
@ -292,6 +292,10 @@ class GetYoutubeVideos:
|
||||||
for subtitle in self.config['subtitle_langs']:
|
for subtitle in self.config['subtitle_langs']:
|
||||||
if subtitle in video_info['subtitles']:
|
if subtitle in video_info['subtitles']:
|
||||||
downloadable_subtitles.append(subtitle)
|
downloadable_subtitles.append(subtitle)
|
||||||
|
else:
|
||||||
|
self._log.debug(
|
||||||
|
'There are no subtitles available.'
|
||||||
|
)
|
||||||
info_filename = os.path.join(
|
info_filename = os.path.join(
|
||||||
self.config['download_dir'],
|
self.config['download_dir'],
|
||||||
f"{video_id}.json"
|
f"{video_id}.json"
|
||||||
|
|
Loading…
Reference in a new issue