This commit is contained in:
Mort Yao 2016-11-26 13:07:21 +01:00
parent fe2720544a
commit e65c2d23a0
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -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)