Moving protocol to download subtitles back to the subtitle_info and keep the download logic in YoutubeDl

This commit is contained in:
Sacha Arnoud
2021-09-21 16:31:43 +00:00
parent d0774569c1
commit 5fb593d50a
5 changed files with 14 additions and 15 deletions

View File

@@ -33,7 +33,8 @@ def get_suitable_downloader(info_dict, params={}):
"""Get the downloader class that can handle the info dict."""
protocol = determine_protocol(info_dict)
info_dict['protocol'] = protocol
print('SACHA> ', protocol)
# if (info_dict.get('start_time') or info_dict.get('end_time')) and not info_dict.get('requested_formats') and FFmpegFD.can_download(info_dict):
# return FFmpegFD