Coder Social home page Coder Social logo

the-115-api's Introduction

115API

环境 python >= 2.7.9 依赖 pyquery、requests 2016/03/23 更新批量种子离线下载

在舍友的要求下更新批量种子离线下载

使用方法:把种子放在torrents 下,在main() 后调用add_many_bt()

ps:upload_torrent() 是提交一个种子离线下载


网页版115云盘API,暂时能登陆,和新建离线任务。

115 API Pipeline


 +------------+
 |            |                   +--------------+
 | getInfos   |                   |              |
 |            |                   | getUserinfo  |
 +----+-------+                   |              |
      |                           +------+-------+            +------------+
      |                                  ^                    |            |
      |                                  |                    |            |
+-----v-------+                   +------+-------+      +-----+------+     |
|             |                   |              |      |            |     |
|  getQrcode  +-- waitLogin------>+     login    +----> |  keepLogin | <---+
|             |        ^          |              |      |            |
+-----+-------+        |          +-------+------+      +------------+
      |                |                  |
      |                |                  |
      v                |                  |
QRCode Scaned +--------+                  |
                                          |
            +---------------+     +-------v-----+     +--------------+
            |               |     |             |     |              |
            | addLinktasks  +<----+ getTasksign +---->+ addLinktask  |
            |               |     |             |     |              |
            +---------------+     +-------------+     +--------------+

Demo


example.py 文件可以作为使用参考例子。(批量添加Javbus的推荐)

先调用f115api.main() 使得账号处于登陆状态。 使用addLinktask() 可以添加单条任务 f115api.addLinktask("magnet:?xt=urn:btih:XXXXX") 可以是HTTP、HTTPS、FTP、磁力链或电驴链接 使用addLinktasks()可以添加多条任务 f115api.addLinktasks(list) 其中list是列表链接列表。 2 1

有什么卵用

  • 批量下载片片
  • 可以做一个老司机发车网,扫码即上车。
  • 。。。

the-115-api's People

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.