forget to fix another code branch

This commit is contained in:
jackyzy823 2015-05-21 12:54:20 +08:00
parent 705d96c43c
commit ce4f116a31

View File

@ -52,8 +52,8 @@ def sohu_download(url, output_dir = '.', merge = True, info_only = False, extrac
title = data['tvName'] title = data['tvName']
size = sum([int(clipsBytes) for clipsBytes in data['clipsBytes']]) size = sum([int(clipsBytes) for clipsBytes in data['clipsBytes']])
assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su']) assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su'])
for file, new in zip(data['clipsURL'], data['su']): for new in data['su']:
urls.append(real_url(host, prot, file, new)) urls.append(real_url(hqvid, new))
assert data['clipsURL'][0].endswith('.mp4') assert data['clipsURL'][0].endswith('.mp4')
print_info(site_info, title, 'mp4', size) print_info(site_info, title, 'mp4', size)