mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 22:15:03 +03:00
Made player use the m3u8 file.
This commit is contained in:
parent
0f1d5beb14
commit
e0554b2d7b
@ -28,6 +28,8 @@ def yizhibo_download(url, output_dir = '.', merge = True, info_only = False, **k
|
|||||||
real_url.append(url)
|
real_url.append(url)
|
||||||
print_info(site_info, title, 'ts', float('inf'))
|
print_info(site_info, title, 'ts', float('inf'))
|
||||||
if not info_only:
|
if not info_only:
|
||||||
|
if player:
|
||||||
|
launch_player(player, [m3u8_url])
|
||||||
download_urls(real_url, title, 'ts', float('inf'), output_dir, merge = merge)
|
download_urls(real_url, title, 'ts', float('inf'), output_dir, merge = merge)
|
||||||
|
|
||||||
site_info = "yizhibo.com"
|
site_info = "yizhibo.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user