diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2014-11-01 12:04:15 +0100 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-11-01 15:34:00 +0100 |
commit | ccdd0ffb805fde3bbf66d80fe765ff4e75377044 (patch) | |
tree | f3d60e313040467cac4fef7899694e63a47c7a47 /youtube_dl/extractor | |
parent | 5263cdfcf9b9c8684959cdba307fd4cd7e1e0338 (diff) |
[generic] indicate when a direct video has been extracted
Fixes #4052.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/generic.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 3882e859c..8abc340b4 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -559,6 +559,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, |