From 87673cd4389f6798bb438bb46a306dc08c906cf5 Mon Sep 17 00:00:00 2001 From: Paul Hartmann Date: Thu, 29 Jan 2015 23:34:56 +0100 Subject: [PATCH] [dctp] follow id conventions --- youtube_dl/extractor/dctp.py | 5 +++-- 1 file 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 }