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:
parent
0f97c9a06f
commit
c587423da5
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user