From 57b0f541269bc703eae269d3a44f86d8f69be8c1 Mon Sep 17 00:00:00 2001 From: Mort Yao Date: Thu, 29 Nov 2012 03:38:03 +0100 Subject: [PATCH] better support for Acfun --- you_get/downloader/acfun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/you_get/downloader/acfun.py b/you_get/downloader/acfun.py index 488c7f35..975deb18 100644 --- a/you_get/downloader/acfun.py +++ b/you_get/downloader/acfun.py @@ -48,7 +48,7 @@ def acfun_download(url, output_dir = '.', merge = True, info_only = False): assert re.match(r'http://www.acfun.tv/v/ac(\d+)', url) html = get_html(url) - title = r1(r'

]*>([^<>]+)]*>([^<>]+)<', html) assert title title = unescape_html(title) title = escape_file_path(title)