From: Alessandro Ghedini Date: Sat, 1 Nov 2014 11:04:15 +0000 (+0100) Subject: [generic] indicate when a direct video has been extracted X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ccdd0ffb805fde3bbf66d80fe765ff4e75377044;p=youtube-dl [generic] indicate when a direct video has been extracted Fixes #4052. --- 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,