mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
copy-paste typo
This commit is contained in:
parent
ce4f116a31
commit
50954908aa
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user