소스 검색

[dctp] follow id conventions

Paul Hartmann 11 년 전
부모
커밋
87673cd438
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      youtube_dl/extractor/dctp.py

+ 3 - 2
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
         }