aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-18 22:43:07 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-18 22:43:07 +0600
commitde6c51e88eb61b49a95ccfcfa82547c2172eb52b (patch)
tree1494c1153d26acd6168b25192ce782fcbeb0b4da /youtube_dl/extractor/generic.py
parent303dcdb99505b29ef4c499cc395ab9ec90c07ec1 (diff)
[extractor/generic] Fix direct link semantics
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py6
1 files changed, 2 insertions, 4 deletions
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: