From 50954908aa71c0758e1a4530027c3cd93f3c5fc4 Mon Sep 17 00:00:00 2001 From: jackyzy823 Date: Thu, 21 May 2015 13:01:44 +0800 Subject: [PATCH] copy-paste typo --- 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 0c9f8f49..abe41b9e 100644 --- a/src/you_get/extractors/sohu.py +++ b/src/you_get/extractors/sohu.py @@ -50,11 +50,11 @@ def sohu_download(url, output_dir = '.', merge = True, info_only = False, extrac urls = [] data = data['data'] title = data['tvName'] + print(data) size = sum([int(clipsBytes) for clipsBytes in data['clipsBytes']]) assert len(data['clipsURL']) == len(data['clipsBytes']) == len(data['su']) for new in data['su']: - urls.append(real_url(hqvid, new)) - assert data['clipsURL'][0].endswith('.mp4') + urls.append(real_url(vid, new)) print_info(site_info, title, 'mp4', size) if not info_only: