-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Baidu Cloud Support #13
Comments
Thank you very much for your praise, and also thanks for suggesting a new Cloud Service to be incorporated in to I'll need some time to evaluate your suggestion, though, because:
For Tencent Weiyun I have not found a developer API at all. |
On your mentioned Wikipedia article the Baidu Cloud have "2 TB (6 GB) free[8]" and if you check source [8] you will see that this means that you only gets the 2 TB if you connecting your account with their Baidu Cloud mobile App. I made my latest account some weeks ago and still got 2 TB and am sure that they won't offer less as long as Tencent Weiyun also offers 2 TB. I also find it very difficult to find out how the Baidu API exactly works because the documentation is completely in Chinese. I read the official Baidu cloud python library under https://github.com/ly0/baidupcsapi/blob/master/baidupcsapi/api.py and some other python projects like https://github.com/banbanchs/pan-baidu-download/blob/master/bddown_core.py and https://github.com/qdore/baidu-pan/blob/master/baidu.py For me this was much easier then reading the official API documentation from http://developer.baidu.com using Google Translate And yes if you don't have any Chinese phone number Baidu probably won't work but QQ International is very easy and in English and Baidu accept QQ accounts. How to get the key is explained under http://developer.baidu.com/wiki/index.php?title=docs/oauth/authorization (just use Google translate) but as far as I can remember I got my API Keys from http://openapi.baidu.com/oauth/2.0/authorize but I'm not completely sure. Maybe also take a look at https://github.com/hjin-me/baidu-client-auth And for Tencent Weiyun you will find the unofficial API under https://github.com/Macuyiko/weiyun-api |
I asked some Chinese friend how the API exactly works and how to get an access token. She told me that it's not difficult to understand if you are on the right documentation pages. I'm looking forward to your Badu implementation. If you have any problems feel free to ask might can help. API documentation: Access token generation: Access token generation example: |
Just to let you know - I've been AFK for the last three weeks, so there hasn't been any progress on the Baidu subject. Thanks for digging up yet another set of docs. Unfortunately they are written in Chinese once again - which I don't understand a bit. Maybe I'll give Google Translate a go at them - we'll see what that turns up. |
Ok, so I tried to sign up with QQ.com at http://zc.qq.com/en/index.html but I can't get the signup page to send me a confirmation SMS. Unless you can point me to a different way of registering for a Baidu/QQ developer account I'd say the Baidu gateway is dead in the water. |
I just made some QQ accounts and it's still working for me with Swiss mobile phone numbers (you only need to click "select your country/region" below the mobile input field and choose your number prefix like 0041 for Switzerland and after this enter your phone number in short form. By the way you also need to do this on every other international registration page like this) but I found a much easier solution. There is an international Baidu registration page were you only need to enter your mobile phone number and your password to directly get Baidu yun cloud access which worked without any problems for me! Just try https://passport.baidu.com/v2/?reg&u=http://pan.baidu.com®Type=1&tpl=netdisk&overseas=1 and you'll love it! Otherwise using a Weibo account is also an option. If all of this options doesn't work for you I could also give you one of my accounts because I have that much now. |
Hello everyone, I have a problem. I need to create a baidu developer account but I can't, the SMS code never arrive to my cel phone. I open a baidu normal account and the SMS code arrive and it works, but for the developer account never work. "The phone number is not formatted correctly" that is the message and I am tired of read it. Also I try to open de QQ account and have a similar problem with the step of the phone number and getting the SMS code (never arrive). I need another option, I must open a baidu developer account. Any advice will be very helpful. |
@lemu1010 |
@lemu1010 If you don't want to write them ask a Chinese friend or buy a virtual Chinese mobile phone number they often are very cheap. I personally don't know any way to register to a baidu development account without because they probably expect a Chinese prefix and so the shorts number length so take a look to the number format before buying a virtual Chinese number. You will find some provides under https://www.quora.com/Looking-for-Chinese-virtual-numbers-TOP-7-of-the-best-providers# Here an English guide how to register a Baidu development account in general: account:http://docs.aws.amazon.com/sns/latest/dg/baidu-register-developer.html |
Thank you so much for making such an amazing program. I really love it! I searched the whole internet for something like this. Cloud you please add support for BaiduPan the biggest Chinese cloud? BaiduPan is my favourite cloud because 2068 GB is much more space than the 16 GB from GoogleDrive and this although this I'm from Switzerland
Why you should add BaiduPan:
How to register:
https://techjourney.net/get-2tb-free-cloud-storage-space-on-baidu-yun-drive-baidu-pan-web-disk/
http://zc.qq.com/en/index.html
But personally I'm using a QQ Account instead of a Baidu Account due to mobile varication problems:
http://zc.qq.com/en/index.html
You might can use following projects:
https://github.com/houtianze/bypy
https://github.com/wrwcmaster/BaiduPanAPI
https://github.com/670232921/BaiduYunFileSystem/
Chinese Cloud history:
After the china government started to censors American clouds like google drive a cloud war started and everybody tried to offer more free space then the competitors until Qihoo 360 Yunpan offers 36 TB for free which was unbeatable! But after the Chinese cloud war ends and Baidu was the winner due to its functions the clouds still remain on sizes like 2 TB and this is amazing if you compare this size with western clouds. Note: For files under like 100-200 MB all Chinese clouds are extremely slow due to we need to bypass the Big Firewall of China
If BaiduPan isn't possible please add Tencent Weiyun. It's the second biggest Chinese cloud and offers also 2 TB: http://www.1mtb.com/how-to-get-10-tb-free-online-cloud-storage-from-tencent-weiyun/
The text was updated successfully, but these errors were encountered: