Merge pull request #4076 from ghedo/direct_type
authorJaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>
Thu, 6 Nov 2014 21:23:14 +0000 (22:23 +0100)
committerJaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>
Thu, 6 Nov 2014 21:23:14 +0000 (22:23 +0100)
[generic] indicate when a direct video has been extracted

youtube_dl/extractor/generic.py

index 8dd11e202bd9288057ebf74f0b74d233439593d8..01d6a57f82aedbf8e350ce753872676b559d24ba 100644 (file)
@@ -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,