[acfun] update API

This commit is contained in:
Mort Yao 2018-02-15 21:30:31 +01:00
parent 1a979b127a
commit f6be4a2904
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

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 #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'] sourceType = info['sourceType']