This repository was archived by the owner on Dec 17, 2019. It is now read-only.
Open
Conversation
修正方式参考:http://tieba.baidu.com/p/4568799018?pid=90678992863&cid=0#90678992863 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!
|
谢谢,根据这个方法确实解决咯,哈哈,你提供修正方式参考的链接的锚定位不准确呀。下面这个更准确一点: |
|
非常感谢,问题解决了! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修正方式参考:http://tieba.baidu.com/p/4568799018?pid=90678992863&cid=0#90678992863
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!