From b6cf508ac91ef9b24ecb3f785d613ff72ff12918 Mon Sep 17 00:00:00 2001 From: Mort Yao Date: Thu, 21 Aug 2014 15:35:18 +0200 Subject: [PATCH] AcFun: fixed --- src/you_get/extractors/acfun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/you_get/extractors/acfun.py b/src/you_get/extractors/acfun.py index fe939515..207193ee 100644 --- a/src/you_get/extractors/acfun.py +++ b/src/you_get/extractors/acfun.py @@ -58,7 +58,7 @@ def acfun_download(url, output_dir = '.', merge = True, info_only = False): title = escape_file_path(title) assert title - videos = re.findall("data-vid=\"(\d+)\" href=\"[^\"]+\" title=\"([^\"]+)\"", html) + videos = re.findall("data-vid=\"(\d+)\".*href=\"[^\"]+\".*title=\"([^\"]+)\"", html) if videos is not None: for video in videos: p_vid = video[0]