projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303dcdb
)
[extractor/generic] Fix direct link semantics
author
Sergey M․
<dstftw@gmail.com>
Fri, 18 Mar 2016 16:43:07 +0000
(22:43 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 18 Mar 2016 16:43:07 +0000
(22:43 +0600)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index a2e7ba5ad8418bd3f6827cac53966a85f837c16d..5649e26daed694a0e5cb5733f92ed768012ac80d 100644
(file)
--- 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: