Update sohu.py
download the best quality video by default
This commit is contained in:
parent
1ff30d7b79
commit
945b406cc4
@ -56,7 +56,7 @@ class SohuIE(InfoExtractor):
|
|||||||
raise ExtractorError('No formats available for this video')
|
raise ExtractorError('No formats available for this video')
|
||||||
|
|
||||||
# For now, we just pick the highest available quality
|
# 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)
|
format_data = data if vid == vid_id else _fetch_data(vid_id, mytv)
|
||||||
part_count = format_data['data']['totalBlocks']
|
part_count = format_data['data']['totalBlocks']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user