From 9c10fed4dbb042dca93ad01bd263ebce1ac7d1e2 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Thu, 26 Feb 2015 17:15:11 +0800 Subject: [PATCH] [Letv] Add format_id --- youtube_dl/extractor/letv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/letv.py b/youtube_dl/extractor/letv.py index c3886125d..59455b029 100644 --- a/youtube_dl/extractor/letv.py +++ b/youtube_dl/extractor/letv.py @@ -136,7 +136,8 @@ class LetvIE(InfoExtractor): url_info_dict = { 'url': media_url, - 'ext': determine_ext(dispatch[format_id][1]) + 'ext': determine_ext(dispatch[format_id][1]), + 'format_id': format_id, } if format_id[-1:] == 'p':