mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
some mistake2 in my.tv.sohu.com
This commit is contained in:
parent
e7414d6f38
commit
62e0ec0219
@ -57,7 +57,7 @@ def sohu_download(url, output_dir = '.', merge = True, info_only = False, extrac
|
||||
urls = []
|
||||
data = info['data']
|
||||
title = data['tvName']
|
||||
size = sum(data['clipsBytes'])
|
||||
size = sum(map(int,data['clipsBytes']))
|
||||
assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su'])
|
||||
for new,clip,ck, in zip(data['su'], data['clipsURL'], data['ck']):
|
||||
clipURL = urlparse(clip).path
|
||||
|
Loading…
Reference in New Issue
Block a user