aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>2014-11-06 22:23:14 +0100
committerJaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>2014-11-06 22:23:14 +0100
commit9908e0352872b252494747346589922358aa0375 (patch)
treeb95cc50a4196a727a96c75b619b9c3fec0ad8cff
parent1fe8fb8c2022b70e6ed44d9c80570239eec74728 (diff)
parentccdd0ffb805fde3bbf66d80fe765ff4e75377044 (diff)
Merge pull request #4076 from ghedo/direct_type
[generic] indicate when a direct video has been extracted
-rw-r--r--youtube_dl/extractor/generic.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 8dd11e202..01d6a57f8 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -576,6 +576,7 @@ class GenericIE(InfoExtractor):
return {
'id': video_id,
'title': os.path.splitext(url_basename(url))[0],
+ 'direct': True,
'formats': [{
'format_id': m.group('format_id'),
'url': url,