mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 16:53:56 +03:00
[tudou] fix #1526
This commit is contained in:
parent
fe2720544a
commit
e65c2d23a0
@ -44,7 +44,7 @@ def tudou_download(url, output_dir = '.', merge = True, info_only = False, **kwa
|
||||
|
||||
html = get_decoded_html(url)
|
||||
|
||||
title = r1(r'kw\s*[:=]\s*[\'\"]([^\n]+?)\'\s*\n', html).replace("\\'", "\'")
|
||||
title = r1(r'\Wkw\s*[:=]\s*[\'\"]([^\n]+?)\'\s*\n', html).replace("\\'", "\'")
|
||||
assert title
|
||||
title = unescape_html(title)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user