Browse Source

[extractor/generic] Fix direct link semantics

totalwebcasting
Sergey M․ 9 years ago
parent
commit
de6c51e88e
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      youtube_dl/extractor/generic.py

+ 2
- 4
youtube_dl/extractor/generic.py View File

@ -1277,10 +1277,8 @@ class GenericIE(InfoExtractor):
'url': url,
'vcodec': 'none' if m.group('type') == 'audio' else None
}]
info_dict.update({
'direct': True,
'formats': formats,
})
info_dict['direct'] = True
info_dict['formats'] = formats
return info_dict
if not self._downloader.params.get('test', False) and not is_intentional:


Loading…
Cancel
Save