wangbjun / go-micloud Goto Github PK
View Code? Open in Web Editor NEWGo语言开发的小米云服务网盘命令行客户端
Home Page: https://i.mi.com/drive
License: Other
Go语言开发的小米云服务网盘命令行客户端
Home Page: https://i.mi.com/drive
License: Other
登录成功以后执行ls
查看的是云盘上的文件列表。我想的是,有没有考虑过增加一套命令,比如lls
查看的就是主机当前目录的文件列表,lcd
切换本机目录,等等。
这样的好处是我在一个窗口就可以操作我想上传或下载的文件。现在是得打开2个窗口,而且下载的文件是我当前登录的位置。
能否将图片上传至相册呢
输入账号密码后报错为:2023-02-23 13:19:27 #登录失败: [login] passServiceLogin failed: Get "": unsupported protocol scheme ""
请问这是什么错误,是否有解决方案。
2022-01-09 10:58:52 #登录失败: [login] passServiceLogin failed: Get "": unsupported protocol scheme ""
/tmp/micloud.log:
{"level":"info","caller":"cmd/main.go:29","msg":"--------------------------------------------------------------------------------","time":"2022-01-09 10:58:42"}
{"level":"info","caller":"user/user.go:164","msg":"[login] begin autoLogin","time":"2022-01-09 10:58:42"}
{"level":"info","caller":"user/user.go:200","msg":"[login] checkPhoneCode: https://account.xiaomi.com/pass/serviceLogin?callback=https%3A%2F%2Fi.mi.com%2Fsts%3Fsign%3DIb3horUmfhQFoQV2LgZ1BLPKbRg%253D%26followup%3D%252F&sid=i.mi.com&checkSafePhone=true&_bal=true","time":"2022-01-09 10:58:42"}
{"level":"info","caller":"user/user.go:85","msg":"[login] autoLogin failed: 自动登录失败","time":"2022-01-09 10:58:42"}
{"level":"info","caller":"user/user.go:101","msg":"[login] passServiceLogin: https://account.xiaomi.com/?d=wb_f5fe6584-ed5e-4055-a8fe-ba744832f451&ticket=0&pwd=1&p_ts=1641697131000&fid=0&p_lm=1&auth=2%26V1_passport%26FIYB0JUxBmytMnl9ELQcf7qu9ASH4oQN07wxJY0rarxpA6C3vdolrAXSjD2%2FYrPrZk%2BXtpLNUQibpCZPZq%2BSHUKvzEYvdxufawHieX4lEMd3KuucpiuRMDPDDlRBBj5ankr1DcvPnv4macX4HZYj3ZoSrN%2BFg9A4PKvSumyipbk%3D&m=1&tsl=0&nonce=OL9FlDo6ZnQBoYFS&_ssign=2%26V1_passport%26oh9hknv9yLdBVqBO34SmRknycI0%3D","time":"2022-01-09 10:58:52"}
{"level":"error","caller":"cmd/main.go:33","msg":"登录失败: [login] passServiceLogin failed: Get \"\": unsupported protocol scheme \"\"","time":"2022-01-09 10:58:52"}
2020-11-08 20:51:17 #登录失败: [login] serviceLoginAuth failed: 账户或密码错误: {"notificationUrl":"https://account.xiaomi.com/identity/authStart?sid=passport&context=jx7I017ULUXSU7rOVMbckNIhDMzngW0y0uLE2PFVOsVtMeeaqzuXMFopGhwu51r5N5KptudDp7dxyKcH2B%2FQf0qgkkhouiyaLIFTww5Oc0dsWg3B60ZrMKnrzJwF77TinHDo0kZmVGO9FjlekEMhz7pJkgRTUTcPPXF4EjUl3WE%2Bks%2B21WzIqjNu6ijxeArKBavWmJCIVpBvinV%2BmdMswFXqIuwyr7CcWiG1VuFhoJ9QQJNMCErjeb6z1SNrGGrsB%2FvF%2BZNYGC%2BaXWfXQ2tJyny%2BC%2FK2SofGaxfeZGT3WS5XOceLAB2VvaXfPKObPG81xwHJjZ8aoAcxyNgOFIXvp88Cq0cw2NIjSg2TO%2BRYO8RLG0I1AVZHWSMFCexhKJM9UEW4U10XJJgwbmQS%2BOr62TiuESwi4ttM0G0QtXo4ip82FN76oOZya4d35cntxj0JnXKzoi6AZBOfklDcCPFPBDfSnit1LKYgnFXKtz4ljweYmUCNCwshfubKRN%2BQBxmXmnzpCekGJ6D%2FKn9pIhsNmWmD05GOvLpk44isUprxyrE7cyrwfiwIoczUZ%2Fnre2DWilcDJkK%2FV%2BEYfVV0XTgYWUXMb2CHgFvjnv%2Fb2Bgun9nionMaZGcVgxX8KHqdl7AcTFCzyEWimh0o59B%2BlmBPu7QXbezUVE7YD2MFQ4jWBm2somMn3aypzkxQQSrEjBFtVpgQp%2BlIQeBt8%2BUBzXfMnnweYTYsoRDioGntPISrqyo%3D&_locale=en_SG","code":0,"captchaUrl":null,"location":"","securityStatus":1,"pwd":0,"desc":"成功"}
如上图,本地服务器登录没问题,可以接受手机验证码,使用海外服务器登录则报错
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.