Update sohu.py

download the best quality video by default
This commit is contained in:
horidream 2014-12-21 00:10:04 +08:00
parent 1ff30d7b79
commit 945b406cc4

View File

@ -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']