Coder Social home page Coder Social logo

115drive-webdav's Introduction

115drive-webdav

GitHub Actions Release Downloads Docker Image

115 网盘 WebDav 服务,可配合支持 WebDAV 协议的客户端 App 食用,如 InfusenPlayer

rclone 改版 https://github.com/gaoyb7/rclone (开发分支 feat-115-drive)支持 115 网盘 WebDav 服务搭建(rclone serve webdav),及直接挂载为本地磁盘(rclone mount),目前支持只读模式,开发中,欢迎自行编译试用

下载

https://github.com/gaoyb7/115drive-webdav/releases

运行

需要获取 115 网盘 Cookie 信息,包括 UID、CID、SEID,网页版 Cookie 时效较短,建议抓包 App 请求获取 Cookie,iOS 系统可使用 Stream 抓包

./115drive-webdav --host=0.0.0.0 --port=8080 --user=user --pwd=123456 --uid=xxxxxx --cid=xxxxxxx --seid=xxxxx

Docker 运行

# 通过命令参数获取配置
docker run -d -p 8081:8081 gaoyb7/115drive-webdav \
	--host=0.0.0.0 --port=8081 \
	--user=user --pwd=123456 \
	--uid=xxxxxx \
	--cid=xxxxxx \
	--seid=xxxxxx
	
# 通过配置文件获取配置
docker run -d -p 8081:8081 \
	-v /path/to/your/config:/etc/115drive-webdav.json \
	gaoyb7/115drive-webdav \
	--config /etc/115drive-webdav.json

参数说明

--host
    服务监听地址,默认 0.0.0.0
--port
    服务监听端口,默认 8080
--user
    WebDav 账户用户名,默认 user
--pwd
    WebDav 账户密码,默认 123456
--uid
    115 网盘 Cookie,UID
--cid
    115 网盘 Cookie,CID
--seid
    115 网盘 Cookie,SEID
--config
    从文件中读取配置,参考 config.json.example

功能支持

  • 文件/文件夹查看
  • 文件下载
  • WebDav 权限校验
  • WebDav 在线视频播放
  • 文件上传
  • 文件重命名
  • 文件删除
  • 文件移动

App Cookie 获取方法

iOS

  • 安装 Stream

  • 打开 Stream,根据提示设置 HTTPS 抓包,安装证书

  • 点击开始抓包

  • 切换到 115 App,点开一个视频,开始播放

  • 再次切换回 Stream,停止抓包,在抓包历史中,找到 115 相关的域名请求,获取到 Cookie 信息

Android

TODO

115drive-webdav's People

Contributors

gaoyb7 avatar sleikang avatar lihaoze123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.