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
This commit is contained in:
mq-liu 2018-01-24 14:16:16 +08:00 committed by GitHub
parent 68a0e9c4b0
commit 6e0902f5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']