提交 9626080b 编写于 作者: M Mort Yao

YinYueTai: fix video type

上级 a5e7b65b
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册