mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[extractor/generic] Fix direct link semantics
This commit is contained in:
parent
303dcdb995
commit
de6c51e88e
@ -1277,10 +1277,8 @@ def _real_extract(self, url):
|
|||||||
'url': url,
|
'url': url,
|
||||||
'vcodec': 'none' if m.group('type') == 'audio' else None
|
'vcodec': 'none' if m.group('type') == 'audio' else None
|
||||||
}]
|
}]
|
||||||
info_dict.update({
|
info_dict['direct'] = True
|
||||||
'direct': True,
|
info_dict['formats'] = formats
|
||||||
'formats': formats,
|
|
||||||
})
|
|
||||||
return info_dict
|
return info_dict
|
||||||
|
|
||||||
if not self._downloader.params.get('test', False) and not is_intentional:
|
if not self._downloader.params.get('test', False) and not is_intentional:
|
||||||
|
Loading…
Reference in New Issue
Block a user