Today, when I used BaiduPCS-Go on Windows to download videos, I kept prompting 403 Forbidden without permission. Later, I found some methods on the Internet and recorded them comprehensively.
First use the browser you have logged in to your Baidu account to visit the following address
http://pcs.baidu.com/rest/2.0/pcs/file?app_id=265486&method=list&path=%2F
Then you will see
{"error_code":31064,"error_msg":"file is not authorized","request_id":****}
Then check your network disk below (refresh the outermost layer), you will see "baidu_shurufa" in the "My Application Data" directory
Then move the files/folders to be downloaded to this directory
Then you can use BaiduPCS-Go to download.
Then log in to BaiduPCS-Go to set the appid, the command is as follows:
1) cd /apps/baidu_shurufa
2) config set -appid=265486
After the configuration is complete, you can continue to download using BaiduPCS-Go.
(Friends who don’t know BaiduPCS-Go can view this article in detail https://blog.csdn.net/cyberHerman/article/details/83828810 )
Pro test is useful. Thank you!