flake8 fix + soundcloud tests

This commit is contained in:
Unknown
2020-09-06 02:57:08 +02:00
parent ea40ffd1e1
commit bc842c27a7
2 changed files with 7 additions and 2 deletions

View File

@@ -1589,7 +1589,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
if lang_code:
sub_lang_list.append(lang_code)
return make_captions(base_url, sub_lang_list)
self._downloader.report_warning("Couldn't find automatic captions for %s" % video_id)
return {}
# Some videos don't provide ttsurl but rather caption_tracks and