aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
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: