deadblue / elevengo Goto Github PK
View Code? Open in Web Editor NEWAn API client of 115 Cloud Storage Service in Go.
License: MIT License
An API client of 115 Cloud Storage Service in Go.
License: MIT License
PS 我也可以帮忙一起做!
dirId := "0"
keyword := "mp4"
agent.FileSearch(dirId, keyword)
但是在
func (a *Agent) fileSearchInternal(fi *fileIterator) (err error) { ... }
打印出来的 spec.Url()
链接
https://webapi.115.com/files/search?limit=32&format=json&cid=0&search_value=mp4&aid=1&show_dir=1&offset=0
浏览器访问是有数据的
最后追踪再(c *Client) CallJsonApi上decoder := json.NewDecoder(body)出现问题,应该是body有问题.但是我并未找到问题所在,还望大佬指点一下!
第一次提交就出现了。本来应该第一次抛出range 第二次成功,
实际上,第一次报错签名错误
`panic: runtime error: slice bounds out of range [:34518] with capacity 3520
goroutine 1 [running]:
github.com/deadblue/elevengo/internal/crypto/ec115.(*Cipher).Decode(0xc00006c0f0, {0xc00023f000, 0xdcc, 0x1000})
G:/elevengo-master/elevengo-master/internal/crypto/ec115/api.go:81 +0x1d6
github.com/deadblue/elevengo/internal/web.(*Client).CallSecretJsonApi(0xc000068300, {0xcc23d6, 0x27}, 0x5?, {0xd360c0, 0xc00000a4e0}, {0xd33cc0?, 0xc0002c8fc0}, 0xc00021da30?)
G:/elevengo-master/elevengo-master/internal/web/api.go:91 +0x3c6
github.com/deadblue/elevengo.(*Agent).uploadInitInternal(0xc00013c070, 0xc00021dc70, 0x0)
G:/elevengo-master/elevengo-master/upload.go:74 +0x772
github.com/deadblue/elevengo.(*Agent).Import(0xc00013c070, {0xc0001e9698, 0x13}, 0xc00033b880)
G:/elevengo-master/elevengo-master/import.go:54 +0x1b5
115push/receiver.importFileForDir({0xc0001e9698, 0x13}, {0xc0002a4048, 0x15}, 0xc?)
G:/GitHub/115push/receiver/receiver.go:70 +0xdd
115push/receiver.Import({0xc0002a4018, 0x13}, {0xc0002a4048, 0x15}, {0xc0002a4060, 0x13})
G:/GitHub/115push/receiver/receiver.go:40 +0x218
main.main()
G:/GitHub/115push/main.go:45 +0x50e`
这个就是我提议的那个软件,还在测试。大佬麻烦看看有什么地方不对。我感觉是二次长度传入的问题
目前看到最棒的类似库!如果能为各个功能提供 http api 的话,就可以以服务的形式自己部署在服务器上,让不同语言或者多个程序同时调用这个服务 ——这样就太棒了。
感谢作者的辛苦开发!
如標題
我已完成 你代碼中的 c.ecc.Encode(data)
可是在POST的時候發現問題了 我發送出去的數據跟你的數據有點差距
弄了很多種方式都不行
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'User-Agent': 'Mozilla/5.0; Windows NT/10.0.19045; 115Desktop/2.0.3.6',
'cookie': '',
}
requests.post(url, data=client.Encode(data), headers=headers)
我發送的時候大概是這樣的發送
想請問大老是否能夠幫我看看問題出在哪.....
error": "请升级到最新版本
可能需要大版本更新了。
例如一个文件夹中 有 1 2 3 4 个文件,会很有可能获取 1 3, 1 3
FileGet 始终返回 json格式化错误。
DownloadCreateTicket 中的 DownloadTicket缺少关键cookie
https://webapi.115.com/files/download?pickcode 后有个 Set-Cookie 请将这个cookie 加入 DownloadTicket 中取代 原有的cookie.
而使用 https://proapi.115.com/app/chrome/downurl? 没有这个cookie
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.