summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Hartmann <phaaurlt@gmail.com>2015-01-29 23:34:56 +0100
committerPaul Hartmann <phaaurlt@gmail.com>2015-01-29 23:34:56 +0100
commit87673cd4389f6798bb438bb46a306dc08c906cf5 (patch)
treec82a8fc7ffe29d17fc4e152a094a0a814931a529
parentf345fe9db77a900a603d753c73c5566d62c1cff9 (diff)
downloadyoutube-dl-87673cd4389f6798bb438bb46a306dc08c906cf5.tar.gz
youtube-dl-87673cd4389f6798bb438bb46a306dc08c906cf5.tar.xz
youtube-dl-87673cd4389f6798bb438bb46a306dc08c906cf5.zip
[dctp] follow id conventions
-rw-r--r--youtube_dl/extractor/dctp.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/dctp.py b/youtube_dl/extractor/dctp.py
index 31bcd35c3..752cff978 100644
--- a/youtube_dl/extractor/dctp.py
+++ b/youtube_dl/extractor/dctp.py
@@ -37,12 +37,13 @@ class DctpTvIE(InfoExtractor):
         url = servers_json[0]['endpoint']
 
         return {
-            'id': video_id,
+            'id': object_id,
             'title': title,
             'format': 'rtmp',
             'url': url,
             'play_path': play_path,
             'real_time': True,
-            'ext': 'flv'
+            'ext': 'flv',
+            'display_id': video_id
         }