mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
YinYueTai: fix
This commit is contained in:
parent
70cd7b3bd9
commit
6f77174f34
@ -20,7 +20,7 @@ def yinyuetai_download_by_id(id, title = None, output_dir = '.', merge = True, i
|
||||
download_urls([url], title, ext, size, output_dir, merge = merge)
|
||||
|
||||
def yinyuetai_download(url, output_dir = '.', merge = True, info_only = False):
|
||||
id = r1(r'http://www.yinyuetai.com/video/(\d+)$', url)
|
||||
id = r1(r'http://\w+.yinyuetai.com/video/(\d+)$', url)
|
||||
assert id
|
||||
html = get_html(url, 'utf-8')
|
||||
title = r1(r'<meta property="og:title"\s+content="([^"]+)"/>', html)
|
||||
|
Loading…
Reference in New Issue
Block a user