[download/external] move the check for multiple selected formats to get_suitable_downloader
This commit is contained in:
parent
da1973a038
commit
6ae27bed01
2 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ class HttpieFD(ExternalFD):
|
|||
class FFmpegFD(ExternalFD):
|
||||
@classmethod
|
||||
def supports(cls, info_dict):
|
||||
return info_dict['protocol'] in ('http', 'https', 'ftp', 'ftps', 'm3u8', 'rtsp', 'rtmp', 'mms') and not info_dict.get('requested_formats')
|
||||
return info_dict['protocol'] in ('http', 'https', 'ftp', 'ftps', 'm3u8', 'rtsp', 'rtmp', 'mms')
|
||||
|
||||
@classmethod
|
||||
def available(cls):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue