From ce4f116a31e166a2de43fa1edb925e8c903a952e Mon Sep 17 00:00:00 2001 From: jackyzy823 Date: Thu, 21 May 2015 12:54:20 +0800 Subject: [PATCH] forget to fix another code branch --- src/you_get/extractors/sohu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/you_get/extractors/sohu.py b/src/you_get/extractors/sohu.py index 132f3ec4..0c9f8f49 100644 --- a/src/you_get/extractors/sohu.py +++ b/src/you_get/extractors/sohu.py @@ -52,8 +52,8 @@ def sohu_download(url, output_dir = '.', merge = True, info_only = False, extrac title = data['tvName'] size = sum([int(clipsBytes) for clipsBytes in data['clipsBytes']]) assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su']) - for file, new in zip(data['clipsURL'], data['su']): - urls.append(real_url(host, prot, file, new)) + for new in data['su']: + urls.append(real_url(hqvid, new)) assert data['clipsURL'][0].endswith('.mp4') print_info(site_info, title, 'mp4', size)