1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-05 02:52:50 +08:00

fix a quality bug

This commit is contained in:
yakiang 2014-05-30 16:04:13 +08:00
parent 0f97c9a06f
commit c587423da5

View File

@ -54,7 +54,7 @@ class SohuIE(InfoExtractor):
raise ExtractorError(u'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']