From: Sergey M․ Date: Fri, 18 Mar 2016 16:43:07 +0000 (+0600) Subject: [extractor/generic] Fix direct link semantics X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=de6c51e88eb61b49a95ccfcfa82547c2172eb52b;p=youtube-dl [extractor/generic] Fix direct link semantics --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index a2e7ba5ad..5649e26da 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -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: