diff --git a/src/you_get/extractors/acfun.py b/src/you_get/extractors/acfun.py index 5c6dc987..4638cb8f 100644 --- a/src/you_get/extractors/acfun.py +++ b/src/you_get/extractors/acfun.py @@ -78,7 +78,7 @@ def acfun_download(url, output_dir='.', merge=True, info_only=False, **kwargs): title = escape_file_path(title) assert title - video = re.search('data-vid="(\d+)"\s*data-scode="".*>([^<]+)', html) + video = re.search('data-vid="(\d+)"\s*data-scode=""[^<]*title="([^"]+)"', html) vid = video.group(1) title = title + ' - ' + video.group(2) acfun_download_by_vid(vid, title,