mirror of
https://github.com/soimort/you-get.git
synced 2025-03-14 11:54:01 +03:00
lack a arg
This commit is contained in:
parent
2384e49fb2
commit
f629a20eb8
@ -44,7 +44,7 @@ def sohu_download(url, output_dir = '.', merge = True, info_only = False, extrac
|
|||||||
title = data['tvName']
|
title = data['tvName']
|
||||||
size = sum(data['clipsBytes'])
|
size = sum(data['clipsBytes'])
|
||||||
assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su'])
|
assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su'])
|
||||||
for new,clip,ck, in zip(data['su'],data['clipsURL']):
|
for new,clip,ck, in zip(data['su'], data['clipsURL'], data['ck']):
|
||||||
clipURL = urlparse(clip).path
|
clipURL = urlparse(clip).path
|
||||||
urls.append(real_url(host,hqvid,tvid,new,clipURL,ck))
|
urls.append(real_url(host,hqvid,tvid,new,clipURL,ck))
|
||||||
# assert data['clipsURL'][0].endswith('.mp4')
|
# assert data['clipsURL'][0].endswith('.mp4')
|
||||||
@ -59,7 +59,7 @@ def sohu_download(url, output_dir = '.', merge = True, info_only = False, extrac
|
|||||||
tvid = data['tvid']
|
tvid = data['tvid']
|
||||||
size = sum(data['clipsBytes'])
|
size = sum(data['clipsBytes'])
|
||||||
assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su'])
|
assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su'])
|
||||||
for new,clip,ck, in zip(data['su'],data['clipsURL']):
|
for new,clip,ck, in zip(data['su'], data['clipsURL'], data['ck']):
|
||||||
clipURL = urlparse(clip).path
|
clipURL = urlparse(clip).path
|
||||||
urls.append(real_url(host,hqvid,tvid,new,clipURL,ck))
|
urls.append(real_url(host,hqvid,tvid,new,clipURL,ck))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user