← 全部工具

115cli

热度 60 更新于 开发与构建

An unofficial CLI tool and higher-level Python API client for 115.com cloud storage service

pypiauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

115cli

An unofficial CLI tool and Python library for 115.com cloud storage. It provides a command-line interface for common file operations and a higher-level Python API client that can be used as a library in your own code.

Read disclaimer carefully before using this tool.

中文版 README

Installation

pip install 115cli

Usage

CLI

After authenticating with 115cli login, you can use the 115cli command to interact with your 115 cloud storage. Here are some examples of available commands:

# Authenticate with cookies
115cli login cookie "UID=xxx; CID=xxx; SEID=xxx; KID=xxx"

# Account info
115cli account

# List files
115cli ls /
115cli ls /path/to/dir -l
115cli ls --id 1234567
# Sort by creation time, newest first
115cli ls -l --sort created --desc

File operations

115cli mkdir /new-folder 115cli cp /src/file.txt /dst/ 115cli mv /old/path /new/path 115cli rename /old/path/file.txt new-file.txt 115cli rm /path/to/file 115cli rm -r /path/to/dir 115cli find /search/path keyword

File info and download

115cli stat /path/to/file 115cli id 1234567 115cli url /path/to/file 115cli url --format aria2c /path/to/file

Download a file to local disk

115cli fetch /path/to/file.mp4 115cli fetch /path/to/file.mp4 -o /local/save/path.mp4 115cli fetch --id 1234567 -o /local/save/path.mp4

Download a folder recursively, with integrity check

115cli fetch /path/to/dir/ -o /local/save/dir/ --check-integrity