mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
[sohu] fix #769
This commit is contained in:
parent
1c95109057
commit
b6d4360491
@ -16,7 +16,7 @@ Changelog:
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
def real_url(host,vid,tvid,new,clipURL,ck):
|
def real_url(host,vid,tvid,new,clipURL,ck):
|
||||||
url = 'http://'+host+'/?prot=9&prod=flash&pt=1&file='+clipURL+'&new='+new +'&key='+ ck+'&vid='+str(vid)+'&uid='+str(int(time.time()*1000))+'&t='+str(random())
|
url = 'http://'+host+'/?prot=9&prod=flash&pt=1&file='+clipURL+'&new='+new +'&key='+ ck+'&vid='+str(vid)+'&uid='+str(int(time.time()*1000))+'&t='+str(random())+'&rb=1'
|
||||||
return json.loads(get_html(url))['url']
|
return json.loads(get_html(url))['url']
|
||||||
|
|
||||||
def sohu_download(url, output_dir = '.', merge = True, info_only = False, extractor_proxy=None, **kwargs):
|
def sohu_download(url, output_dir = '.', merge = True, info_only = False, extractor_proxy=None, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user