Skip to main content

115网盘添加离线下载任务命令行工具

Project description

Offline 115 (115 离线下载 python 命令行工具)

author: owtotwo

usage: offl115 [-h] [-c cookies] [-t torrent [torrent ...]] [-m magnet [magnet ...]] [-v]

115离线下载命令行工具(用于添加115离线下载任务)

optional arguments:
  -h, --help            show this help message and exit
  -c cookies, --cookies cookies
                        本地115的cookies文件(仅支持分号间隔的cookies字符串为文本内容)
  -t torrent [torrent ...], --torrent torrent [torrent ...]
                        本地种子文件
  -m magnet [magnet ...], --magnet magnet [magnet ...]
                        磁力链接(最多15个)
  -v, --version         显示此命令行当前版本

Requirements

  • Windows 10
  • Python3.7+
  • pip
  • pypi
    • bencode.py == 4.0.0
    • requests == 2.24.0

Install and Run on Win10

$ pip install Offline-115
$ (Login your 115 and Save the cookies to file 'C:\Users\<You>\.115.cookies' in format 'Semicolon separated name=value pairs' by EditThisCookie)
$ offl115 -h
$ offl115 -m "magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88a"

Install from source code and Run on Win10

(* Need Git for Windows)

$ (Login your 115 and Save the cookies to file 'C:\Users\<You>\.115.cookies' in format 'Semicolon separated name=value pairs' by EditThisCookie)
$ git clone https://github.com/owtotwo/Offline-115.git
$ cd Offline-115
$ py -3 setup.py install
$ offl115 -h
$ offl115 -m "magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88a"

Usage

Login (登录)

请在115浏览器登录后,推荐使用 EditThisCookie 插件导出 cookies 到 {HOMEPATH}/.115.cookies 即 可正常使用。cookies 只支持分号分隔的格式(Semicolon separated name=value pairs),如a=1;b=2;c=3;

Help (显示命令行使用方法)

offl115 -h

Add torrent (单个本地种子文件)

offl115 -t 'C:\Users\<You>\Desktop\abc.torrent'

Add magnet (单个磁力链接)

offl115 -m "magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88a"

Add multiple torrents (多个本地种子文件)

offl115 -t 'C:\Users\<You>\Desktop\abc.torrent' 'C:\Users\<You>\Desktop\def.torrent'

Add multiple magnets (多个磁力链接)

offl115 -m "magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88a" "magnet:?xt=urn:btih:c12fe1c06bba254a9dc9f519b335aa7c1367a88b"

Help (显示命令行工具当前版本)

offl115 -v

Related Repo

coolzilj/lixian-115

License

LGPLv3 © owtotwo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Offline-115-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

Offline_115-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file Offline-115-0.1.0.tar.gz.

File metadata

  • Download URL: Offline-115-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for Offline-115-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a060ebbfbfe546d9f414534c8ace717e7538d915e8472882b18cd6a73c7e3f4b
MD5 2ff47912ad6eb142dc9f7b47553e575e
BLAKE2b-256 c0ad4ddc62f0089affecfe5ac8d15a977c61e97413a350bd29ea14e905a67c4c

See more details on using hashes here.

File details

Details for the file Offline_115-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: Offline_115-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for Offline_115-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c499cc2c79c89502cf55cc8c8ecba4569f81125a57ea56e2a14cccce6b0d3a0
MD5 65b6af1ba047354d5ae398dd9e0f2acc
BLAKE2b-256 88b42e3ef28c372ae98f123ba1428bf307e49cd65eb17541453b4ce702e02969

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page