mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 18:22:21 +00:00
Merge pull request #4076 from ghedo/direct_type
[generic] indicate when a direct video has been extracted
This commit is contained in:
commit
9908e03528
1 changed files with 1 additions and 0 deletions
|
@ -576,6 +576,7 @@ class GenericIE(InfoExtractor):
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': os.path.splitext(url_basename(url))[0],
|
'title': os.path.splitext(url_basename(url))[0],
|
||||||
|
'direct': True,
|
||||||
'formats': [{
|
'formats': [{
|
||||||
'format_id': m.group('format_id'),
|
'format_id': m.group('format_id'),
|
||||||
'url': url,
|
'url': url,
|
||||||
|
|
Loading…
Reference in a new issue