PeterDing / iScript

各种脚本 -- 关于 虾米 xiami.com, 百度网盘 pan.baidu.com, 115网盘 115.com, 网易音乐 music.163.com, 百度音乐 music.baidu.com, 360网盘/云盘 yunpan.cn, 视频解析 flvxz.com, bt torrent ↔ magnet, ed2k 搜索, tumblr 图片下载, unzip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get share infos 错误了

jumpx1 opened this issue · comments

Hi Peter

get_share_infos错误了,貌似百度的接口又变化了。麻烦看看,谢谢。

File "/usr/local/bin/baidu.py", line 4644, in handle_command
x.save_share(url, remotepath, infos=infos)
File "/usr/local/bin/baidu.py", line 2503, in save_share
infos = self._get_share_infos(url, remotepath, infos)
File "/usr/local/bin/baidu.py", line 2150, in _get_share_infos
j = info['file_list']['list']
TypeError: list indices must be integers, not str

pan.baidu.com.py 不再维护。请用 https://github.com/PeterDing/BaiduPCS-Py