From 945b406cc4065ebd1231b943cb7d4c947ac88e0d Mon Sep 17 00:00:00 2001 From: horidream Date: Sun, 21 Dec 2014 00:10:04 +0800 Subject: [PATCH] Update sohu.py download the best quality video by default --- youtube_dl/extractor/sohu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/sohu.py b/youtube_dl/extractor/sohu.py index 07f514a46..ca4801a16 100644 --- a/youtube_dl/extractor/sohu.py +++ b/youtube_dl/extractor/sohu.py @@ -56,7 +56,7 @@ class SohuIE(InfoExtractor): raise ExtractorError('No formats available for this video') # For now, we just pick the highest available quality - vid_id = vid_ids[-1] + vid_id = vid_ids[0] format_data = data if vid == vid_id else _fetch_data(vid_id, mytv) part_count = format_data['data']['totalBlocks']