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: