当前位置: 首页 > 工具软件 > bcloud > 使用案例 >

bcloud网络错误问题

华凯捷
2023-12-01
Trouble Shooting Ways of Ubuntu


Step1:sudo gedit /usr/lib/python3/dist-packages/bcloud/auth.py
Do:在get_bdstoken函数的if req:前一行添加"cookie.load_list(req.headers.get_all('Set-Cookie'))"


Step2:sudo gedit /usr/lib/python3/dist-packages/bcloud/pcs.py
Do:把所有cookie.sub_output()的参数添加上'SCRC','STOKEN'
例:'Cookie': cookie.sub_output('BAIDUID', 'BDUSS', 'PANWEB', 'cflag', 'SCRC', 'STOKEN'),


Step3:删除配置数据和缓存
sudo rm -rf ~/.config/bcloud/*
sudo rm -rf ~/.cache/bcloud/*


Step4:重新运行Bcloud


Thanks ”poplit“ for share!
 类似资料: