-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
115直接挂载分享链接 #5384
Comments
https://github.com/ChenyangGao/web-mount-packs |
这就是我写的项目😄,我提issue,我另起炉灶,不喜欢go语言,不知道能不能在rust语言层面合作,我可以贡献rust代码 |
原来就是你写的啊 你那个wsgidav实现的webdav是不是有些问题 只能在web浏览器看 其他软件都挂载不了 能否做成像alist wedav这样可以被其他软件挂载呀?? |
可以挂,后面不要加/dav,浏览器什么地址,挂载也是这地址 |
你的alist 咋能挂115 分享链接?? |
运行我那个程序,就可以有一个webdav,再用alist挂这个webdav即可 |
已经挂载成功 感谢 |
意思是说,点击下载的时候,先创建一个分享?然后通过分享链接下载?这样就可以不经过代理了是吧? 有几个问题可能要考虑下:
这个功能会考虑加到sdk中,但是是否能集成到 alist,还有待商榷 |
看起来应该是直接获取分享链接的文件的直链,而不需要转存到自己的账号中。 |
{"data": RSA加密({"share_code": share_code, "receive_code": receive_code, "file_id": file_id})} 通过分享码,提取码和文件id获取直连这个测试通过了, |
这两个api的功能已经实现, 但是alist中如何获取分享码和访问码? |
难道说的是把根目录直接分享出去,然后配置分享码和访问码来挂载文件, 达成直链下载? |
This update introduces the ability to mount 115 share links. Currently, only listing and downloading are supported. Note that login and share link are required for this feature to work. Close AlistGo#5384
This update introduces the ability to mount 115 share links. Currently, only listing and downloading are supported. Note that login and share link are required for this feature to work. Close AlistGo#5384
This update introduces the ability to mount 115 share links. Currently, only listing and downloading are supported. Note that login and share link are required for this feature to work. Close AlistGo#5384 fix(deps): update go.mod
This update introduces the ability to mount 115 share links. Currently, only listing and downloading are supported. Note that login and share link are required for this feature to work. Close AlistGo#5384
…15347) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [xhofe/alist](https://togithub.com/alist-org/alist) | minor | `v3.28.0` -> `v3.29.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>alist-org/alist (xhofe/alist)</summary> ### [`v3.29.1`](https://togithub.com/alist-org/alist/releases/tag/v3.29.1) [Compare Source](https://togithub.com/alist-org/alist/compare/v3.29.0...v3.29.1) ##### 🐞 Bug Fixes - Task popped but not execute - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5565](https://togithub.com/alist-org/alist/issues/5565) [<samp>(68af2)</samp>](https://togithub.com/alist-org/alist/commit/68af284) ##### [View changes on GitHub](https://togithub.com/alist-org/alist/compare/v3.29.0...v3.29.1) ### [`v3.29.0`](https://togithub.com/alist-org/alist/releases/tag/v3.29.0) [Compare Source](https://togithub.com/alist-org/alist/compare/v3.28.0...v3.29.0) ##### 🚀 Features - Add `header` to `meta` - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5317](https://togithub.com/alist-org/alist/issues/5317) [<samp>(9ff83)</samp>](https://togithub.com/alist-org/alist/commit/9ff83a7) - Add ignore direct link params - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5434](https://togithub.com/alist-org/alist/issues/5434) [<samp>(c0f9c)</samp>](https://togithub.com/alist-org/alist/commit/c0f9c8e) - Refactor offline download ([#​5408](https://togithub.com/alist-org/alist/issues/5408) close [#​4108](https://togithub.com/alist-org/alist/issues/4108)) - by [@​xhofe](https://togithub.com/xhofe) and [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/alist-org/alist/issues/5408](https://togithub.com/alist-org/alist/issues/5408)8 and[https://github.com/alist-org/alist/issues/4108](https://togithub.com/alist-org/alist/issues/4108)8 [<samp>(76928)</samp>](https://togithub.com/alist-org/alist/commit/769281b) - Add `115_share` driver ([#​5481](https://togithub.com/alist-org/alist/issues/5481) close [#​5384](https://togithub.com/alist-org/alist/issues/5384)) - by [@​SheltonZhu](https://togithub.com/SheltonZhu) in [https://github.com/alist-org/alist/issues/5481](https://togithub.com/alist-org/alist/issues/5481) and [https://github.com/alist-org/alist/issues/5384](https://togithub.com/alist-org/alist/issues/5384) [<samp>(da1c7)</samp>](https://togithub.com/alist-org/alist/commit/da1c7a4) - Invalidate old token after changing the password - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5515](https://togithub.com/alist-org/alist/issues/5515) [<samp>(3d518)</samp>](https://togithub.com/alist-org/alist/commit/3d51845) - Support using external dist files - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5531](https://togithub.com/alist-org/alist/issues/5531) [<samp>(6fc67)</samp>](https://togithub.com/alist-org/alist/commit/6fc6751) - Refactor task module - by [@​xhofe](https://togithub.com/xhofe) [<samp>(11a30)</samp>](https://togithub.com/alist-org/alist/commit/11a30c5) - Customize workers and retry of task (close [#​5493](https://togithub.com/alist-org/alist/issues/5493) fix [#​5274](https://togithub.com/alist-org/alist/issues/5274)) - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5493](https://togithub.com/alist-org/alist/issues/5493) and [https://github.com/alist-org/alist/issues/5274](https://togithub.com/alist-org/alist/issues/5274) [<samp>(7583c)</samp>](https://togithub.com/alist-org/alist/commit/7583c4d) - Retry all failed task - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5242](https://togithub.com/alist-org/alist/issues/5242) [<samp>(b2890)</samp>](https://togithub.com/alist-org/alist/commit/b2890f0) - Add chaoxing and vtencent driver ([#​5526](https://togithub.com/alist-org/alist/issues/5526) close [#​3347](https://togithub.com/alist-org/alist/issues/3347)) - by [@​msterzhang](https://togithub.com/msterzhang) in [https://github.com/alist-org/alist/issues/5526](https://togithub.com/alist-org/alist/issues/5526) and [https://github.com/alist-org/alist/issues/3347](https://togithub.com/alist-org/alist/issues/3347) [<samp>(12800)</samp>](https://togithub.com/alist-org/alist/commit/1280070) - Allow keep files in offline download - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/4678](https://togithub.com/alist-org/alist/issues/4678) [<samp>(b6134)</samp>](https://togithub.com/alist-org/alist/commit/b6134dc) - Customize allow `origins`, `headers` and `methods` - by [@​xhofe](https://togithub.com/xhofe) [<samp>(3f405)</samp>](https://togithub.com/alist-org/alist/commit/3f405de) - **cloudreve**: - Support thumbnail ([#​5373](https://togithub.com/alist-org/alist/issues/5373) close [#​5348](https://togithub.com/alist-org/alist/issues/5348)) - by [@​itsHenry35](https://togithub.com/itsHenry35) in [https://github.com/alist-org/alist/issues/5373](https://togithub.com/alist-org/alist/issues/5373) and [https://github.com/alist-org/alist/issues/5348](https://togithub.com/alist-org/alist/issues/5348) [<samp>(7f733)</samp>](https://togithub.com/alist-org/alist/commit/7f73354) - Folder size count and switch ([#​5457](https://togithub.com/alist-org/alist/issues/5457) close [#​5395](https://togithub.com/alist-org/alist/issues/5395)) - by [@​itsHenry35](https://togithub.com/itsHenry35) in [https://github.com/alist-org/alist/issues/5457](https://togithub.com/alist-org/alist/issues/5457) and [https://github.com/alist-org/alist/issues/5395](https://togithub.com/alist-org/alist/issues/5395) [<samp>(65c5e)</samp>](https://togithub.com/alist-org/alist/commit/65c5ec0) - **crypt**: - Optional pre-generated thumbnails - by [@​chaoqing](https://togithub.com/chaoqing) in [https://github.com/alist-org/alist/issues/5284](https://togithub.com/alist-org/alist/issues/5284) [<samp>(fb13d)</samp>](https://togithub.com/alist-org/alist/commit/fb13dae) - Add show hidden option - by [@​textrix](https://togithub.com/textrix) in [https://github.com/alist-org/alist/issues/5554](https://togithub.com/alist-org/alist/issues/5554) [<samp>(fe34d)</samp>](https://togithub.com/alist-org/alist/commit/fe34d30) - **google_drive**: - Add `hash_info`, `ctime`, `thumbnail` - by [@​foxxorcat](https://togithub.com/foxxorcat) in [https://github.com/alist-org/alist/issues/5334](https://togithub.com/alist-org/alist/issues/5334) [<samp>(1a283)</samp>](https://togithub.com/alist-org/alist/commit/1a283bb) - **offline_download**: - Add simple http tool - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/4002](https://togithub.com/alist-org/alist/issues/4002) [<samp>(34746)</samp>](https://togithub.com/alist-org/alist/commit/34746e9) - **onedrive**: - Custom host for download link - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5310](https://togithub.com/alist-org/alist/issues/5310) [<samp>(0fd51)</samp>](https://togithub.com/alist-org/alist/commit/0fd5164) - **sso**: - Custom username key for `OIDC` - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5169](https://togithub.com/alist-org/alist/issues/5169) [<samp>(e719a)</samp>](https://togithub.com/alist-org/alist/commit/e719a1a) - **webdav**: - Add `tls_insecure_skip_verify` field - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5490](https://togithub.com/alist-org/alist/issues/5490) [<samp>(91f51)</samp>](https://togithub.com/alist-org/alist/commit/91f51f1) ##### 🐞 Bug Fixes - Hash gcid empty file - by [@​foxxorcat](https://togithub.com/foxxorcat) in [https://github.com/alist-org/alist/issues/5394](https://togithub.com/alist-org/alist/issues/5394) [<samp>(cdfbe)</samp>](https://togithub.com/alist-org/alist/commit/cdfbe6d) - Incorrect content-type of apk files - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5385](https://togithub.com/alist-org/alist/issues/5385) [<samp>(4355d)</samp>](https://togithub.com/alist-org/alist/commit/4355dae) - Reflected XSS vulnerability plist api - by [@​xhofe](https://togithub.com/xhofe) [<samp>(61006)</samp>](https://togithub.com/alist-org/alist/commit/6100647) - `content-type` conflicts with [#​5420](https://togithub.com/alist-org/alist/issues/5420) - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5420](https://togithub.com/alist-org/alist/issues/5420) [<samp>(d2688)</samp>](https://togithub.com/alist-org/alist/commit/d26887d) - **115**: - Allow use proxy directly - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5324](https://togithub.com/alist-org/alist/issues/5324) [<samp>(e8958)</samp>](https://togithub.com/alist-org/alist/commit/e895801) - Limit request rate ([#​5367](https://togithub.com/alist-org/alist/issues/5367) close [#​5275](https://togithub.com/alist-org/alist/issues/5275)) - by [@​foxxorcat](https://togithub.com/foxxorcat) and [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5367](https://togithub.com/alist-org/alist/issues/5367) and [https://github.com/alist-org/alist/issues/5275](https://togithub.com/alist-org/alist/issues/5275) [<samp>(b9e19)</samp>](https://togithub.com/alist-org/alist/commit/b9e192b) - Fix driver package import and variable - by [@​SheltonZhu](https://togithub.com/SheltonZhu) in [https://github.com/alist-org/alist/issues/5482](https://togithub.com/alist-org/alist/issues/5482) [<samp>(3bbdd)</samp>](https://togithub.com/alist-org/alist/commit/3bbdd4f) - **aliyundrive_open**: - Change default api to raw server - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5358](https://togithub.com/alist-org/alist/issues/5358) [<samp>(7600d)</samp>](https://togithub.com/alist-org/alist/commit/7600dc2) - Upload progress for normal upload - by [@​NewbieOrange](https://togithub.com/NewbieOrange) in [https://github.com/alist-org/alist/issues/5398](https://togithub.com/alist-org/alist/issues/5398) [<samp>(8ef80)</samp>](https://togithub.com/alist-org/alist/commit/8ef8023) - Mitigation measures for 15-minute limit ([#​5560](https://togithub.com/alist-org/alist/issues/5560) close [#​5547](https://togithub.com/alist-org/alist/issues/5547)) - by [@​BlueSkyXN](https://togithub.com/BlueSkyXN) and [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5560](https://togithub.com/alist-org/alist/issues/5560) and [https://github.com/alist-org/alist/issues/5547](https://togithub.com/alist-org/alist/issues/5547) [<samp>(0fbb9)</samp>](https://togithub.com/alist-org/alist/commit/0fbb986) - **baidu_netdisk**: - Hash and `error 2` - by [@​foxxorcat](https://togithub.com/foxxorcat) in [https://github.com/alist-org/alist/issues/5356](https://togithub.com/alist-org/alist/issues/5356) [<samp>(8ef89)</samp>](https://togithub.com/alist-org/alist/commit/8ef89ad) - Upload file > 4GB - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5392](https://togithub.com/alist-org/alist/issues/5392) [<samp>(4fc0a)</samp>](https://togithub.com/alist-org/alist/commit/4fc0a77) - **deps**: - Update module github.com/ipfs/go-ipfs-api to v0.7.0 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/alist-org/alist/issues/5247](https://togithub.com/alist-org/alist/issues/5247)7 [<samp>(eb918)</samp>](https://togithub.com/alist-org/alist/commit/eb91865) - Update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.9+incompatible - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/alist-org/alist/issues/5141](https://togithub.com/alist-org/alist/issues/5141)1 [<samp>(69a98)</samp>](https://togithub.com/alist-org/alist/commit/69a98ea) - Update module golang.org/x/net to v0.17.0 \[security] - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/alist-org/alist/issues/5370](https://togithub.com/alist-org/alist/issues/5370)0 [<samp>(cc86d)</samp>](https://togithub.com/alist-org/alist/commit/cc86d6f) - Update golang.org/x/exp digest to [`7918f67`](https://togithub.com/alist-org/alist/commit/7918f67) - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/alist-org/alist/issues/5366](https://togithub.com/alist-org/alist/issues/5366)6 [<samp>(4dff4)</samp>](https://togithub.com/alist-org/alist/commit/4dff494) - Update module github.com/charmbracelet/lipgloss to v0.9.1 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/alist-org/alist/issues/5234](https://togithub.com/alist-org/alist/issues/5234)4 [<samp>(a6325)</samp>](https://togithub.com/alist-org/alist/commit/a632596) - Update module github.com/aws/aws-sdk-go to v1.46.7 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/alist-org/alist/issues/5068](https://togithub.com/alist-org/alist/issues/5068)8 [<samp>(a7421)</samp>](https://togithub.com/alist-org/alist/commit/a7421d8) - **local**: - Video file thumbnails not displaying on iOS Safari - by [@​gmugu](https://togithub.com/gmugu) in [https://github.com/alist-org/alist/issues/5420](https://togithub.com/alist-org/alist/issues/5420) [<samp>(867ac)</samp>](https://togithub.com/alist-org/alist/commit/867acca) - **mopan**: - 302 Redirect ([#​5505](https://togithub.com/alist-org/alist/issues/5505) close [#​5502](https://togithub.com/alist-org/alist/issues/5502)) - by [@​foxxorcat](https://togithub.com/foxxorcat) and [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5505](https://togithub.com/alist-org/alist/issues/5505) and [https://github.com/alist-org/alist/issues/5502](https://togithub.com/alist-org/alist/issues/5502) [<samp>(55a14)</samp>](https://togithub.com/alist-org/alist/commit/55a14bc) - **onedrive_app**: - Incorrect api on `_accessToken` - by [@​jeffmingup](https://togithub.com/jeffmingup) in [https://github.com/alist-org/alist/issues/5346](https://togithub.com/alist-org/alist/issues/5346) [<samp>(35d67)</samp>](https://togithub.com/alist-org/alist/commit/35d6722) - **terabox**: - Auto refresh `JsToken` - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5277](https://togithub.com/alist-org/alist/issues/5277) [<samp>(6b67a)</samp>](https://togithub.com/alist-org/alist/commit/6b67a36) - Encode parameters for `filemanager` api - by [@​URenko](https://togithub.com/URenko) in [https://github.com/alist-org/alist/issues/5308](https://togithub.com/alist-org/alist/issues/5308) [<samp>(e1ef6)</samp>](https://togithub.com/alist-org/alist/commit/e1ef690) - **vtencent**: - Hack file with size 0 but actual size is not 0 - by [@​xhofe](https://togithub.com/xhofe) [<samp>(d455a)</samp>](https://togithub.com/alist-org/alist/commit/d455a23) - **weiyun**: - Unmarshal overflow - by [@​foxxorcat](https://togithub.com/foxxorcat) in [https://github.com/alist-org/alist/issues/5459](https://togithub.com/alist-org/alist/issues/5459) [<samp>(68f44)</samp>](https://togithub.com/alist-org/alist/commit/68f440a) - **wopan**: - Fatal error concurrent map writes - by [@​xhofe](https://togithub.com/xhofe) in [https://github.com/alist-org/alist/issues/5352](https://togithub.com/alist-org/alist/issues/5352) [<samp>(1ebc9)</samp>](https://togithub.com/alist-org/alist/commit/1ebc96a) ##### 🏎 Performance - **webdav**: Support request with cookies - by [@​gmugu](https://togithub.com/gmugu) in [https://github.com/alist-org/alist/issues/5391](https://togithub.com/alist-org/alist/issues/5391) [<samp>(aaffa)</samp>](https://togithub.com/alist-org/alist/commit/aaffaee) ##### [View changes on GitHub](https://togithub.com/alist-org/alist/compare/v3.28.0...v3.29.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42OC4wIiwidXBkYXRlZEluVmVyIjoiMzcuNjguMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
|
|
https://share.115.com/sw68b0u3hhq?password=gd41# 网页可以读出文件cid=2596442822729660057 |
试过了可以挂载 https://115.com/s/sw68b0u3hhq?password=gd41# |
Please make sure of the following things
Description of the feature / 需求描述
我使用115浏览器的过程中发现,115浏览器可以直接打开一个分享链接,不经过转存,就可以下载。
这说明,理论上,115的分享链接是可以直接挂载的,因此我希望能增加这个功能。
Suggested solution / 实现思路
下面是有关的技术实现:
alist 的 115 driver 是 115driver,115driver 对下载链接的加解密用的是 fake115uploader。
对于自己网盘的文件,是通过 POST 请求 https://proapi.115.com/app/chrome/downurl ,并且附带请求参数(需要 url-encoded)
并对返回的结果解密即可
同样的,对于分享链接中的文件,也用同样的RSA加密,通过 POST 请求 https://proapi.115.com/app/share/downurl ,并且附带请求参数(需要 url-encoded)
并对返回的结果解密即可
例如,有个分享链接 https://115.com/s/sw60op83nuc?password=y909#
那么就有
而另一个参数 file_id ,可罗列分享文件中的文件信息获得
Additional context / 附件
No response
The text was updated successfully, but these errors were encountered: