mirror of
https://github.com/soimort/you-get.git
synced 2025-02-10 20:22:27 +03:00
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:
parent
68a0e9c4b0
commit
6e0902f5ff
@ -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']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user