[generic] indicate when a direct video has been extracted
authorAlessandro Ghedini <alessandro@ghedini.me>
Sat, 1 Nov 2014 11:04:15 +0000 (12:04 +0100)
committerAlessandro Ghedini <alessandro@ghedini.me>
Sat, 1 Nov 2014 14:34:00 +0000 (15:34 +0100)
Fixes #4052.

youtube_dl/extractor/generic.py

index 3882e859c2b92993ce3f5da2a957083f223a9e44..8abc340b43cdfeb0316282ea34b9a19638abc43a 100644 (file)
@@ -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,