From 6e0902f5ff9ef40a298d54f7e4c7685c24155836 Mon Sep 17 00:00:00 2001 From: mq-liu Date: Wed, 24 Jan 2018 14:16:16 +0800 Subject: [PATCH] Update acfun.py the interface "http://www.acfun.tv/video/getVideo.aspx" in line 52 can`t be used. it shoud be www.acfun.cn/video/getVideo.aspx --- 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 a5ea7659..c521422f 100644 --- a/src/you_get/extractors/acfun.py +++ b/src/you_get/extractors/acfun.py @@ -49,7 +49,7 @@ def acfun_download_by_vid(vid, title, output_dir='.', merge=True, info_only=Fals """ #first call the main parasing API - info = json.loads(get_content('http://www.acfun.tv/video/getVideo.aspx?id=' + vid)) + info = json.loads(get_content('http://www.acfun.cn/video/getVideo.aspx?id=' + vid)) sourceType = info['sourceType']