YinYueTai: fix video type

This commit is contained in:
Mort Yao 2014-09-06 03:29:52 +02:00
parent a5e7b65b95
commit 9626080b97

View File

@ -13,7 +13,8 @@ def yinyuetai_download_by_id(id, title = None, output_dir = '.', merge = True, i
if url:
break
assert url
type, ext, size = url_info(url)
type = ext = r1(r'\.(flv|mp4)', url)
_, _, size = url_info(url)
print_info(site_info, title, type, size)
if not info_only: