Fix --list-formats (Closes #799)
This commit is contained in:
parent
74e3452b9e
commit
c681a03918
2 changed files with 5 additions and 6 deletions
|
@ -458,6 +458,8 @@ class FileDownloader(object):
|
|||
# Extract information from URL and process it
|
||||
try:
|
||||
ie_results = ie.extract(url)
|
||||
if ie_results is None: # Finished already (backwards compatibility; listformats and friends should be moved here)
|
||||
break
|
||||
results = []
|
||||
for ie_result in ie_results:
|
||||
if not 'extractor' in ie_result:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue