mirror of
https://github.com/soimort/you-get.git
synced 2025-03-15 04:13:58 +03:00
YinYueTai: fix video type
This commit is contained in:
parent
a5e7b65b95
commit
9626080b97
@ -13,7 +13,8 @@ def yinyuetai_download_by_id(id, title = None, output_dir = '.', merge = True, i
|
|||||||
if url:
|
if url:
|
||||||
break
|
break
|
||||||
assert url
|
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)
|
print_info(site_info, title, type, size)
|
||||||
if not info_only:
|
if not info_only:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user