From ccdd0ffb805fde3bbf66d80fe765ff4e75377044 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Sat, 1 Nov 2014 12:04:15 +0100 Subject: [PATCH] [generic] indicate when a direct video has been extracted Fixes #4052. --- youtube_dl/extractor/generic.py | 1 + 1 file changed, 1 insertion(+) 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, -- 2.22.2