mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33: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:
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user