mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 20:52:31 +03:00
little fix
This commit is contained in:
parent
00a3a11ce6
commit
8bc0ec7a71
@ -64,7 +64,8 @@ def longzhu_download(url, output_dir = '.', merge = True, info_only = False, **k
|
|||||||
real_url = match1(html, real_url_patt).replace('\\','')
|
real_url = match1(html, real_url_patt).replace('\\','')
|
||||||
print_info(site_info, title, 'rtmp', float('inf'))
|
print_info(site_info, title, 'rtmp', float('inf'))
|
||||||
if not info_only:
|
if not info_only:
|
||||||
download_rtmp_url([real_url], title, 'mp4', None, output_dir, merge = merge)
|
#download_rtmp_url([real_url], title, 'mp4', None, output_dir, merge = merge)
|
||||||
|
download_url_ffmpeg(real_url, title, 'flv', {}, output_dir = output_dir, merge = merge)
|
||||||
|
|
||||||
elif len(offlineVideo_url) >= 4 :
|
elif len(offlineVideo_url) >= 4 :
|
||||||
real_url = offlineVideo_url
|
real_url = offlineVideo_url
|
||||||
|
Loading…
Reference in New Issue
Block a user