Made player use the m3u8 file.

This commit is contained in:
Valdemar Erk 2016-12-11 01:49:13 +01:00
parent 0f1d5beb14
commit e0554b2d7b

View File

@ -28,6 +28,8 @@ def yizhibo_download(url, output_dir = '.', merge = True, info_only = False, **k
real_url.append(url)
print_info(site_info, title, 'ts', float('inf'))
if not info_only:
if player:
launch_player(player, [m3u8_url])
download_urls(real_url, title, 'ts', float('inf'), output_dir, merge = merge)
site_info = "yizhibo.com"