Giter VIP home page Giter VIP logo

lixian.xunlei's Introduction

LiXian.XunLei: api of lixian.xunlei.com in python

LiXian.XunLei is a python api base on http://lixian.xunlei.com/ , and a web project using this api.

迅雷离线API是基于迅雷离线网页版开发的python接口,并在这个接口基础上实现一套离线资源分享网站。

Features

Api for lixian.xunlei.com.
  • Including add/fetch/delete/delay tasks or files.
  • Normal/bt/thunder/magnet url support and automatically distinguish.
  • Ulimit offline space.
  • task may expired when you change account or it's nolonger in your tasklist
A website
  • Multi-user with permission control support.
  • Async
  • Search
  • Tags
  • Share
  • Download with wget/aria2
A plugin for flexget
  • add task by flexget
  • get all files as input from xunlei lixian

Usage

Just

python main.py --username=<xunlei_vip_username> --password=<your_password>

or you can using a config file

username = "<your_username>"
password = "<your_password>"

and start with command

python main.py --f=<config>

Getting help

python main.py --help

FlexGet Plugin

cp libs/jsfunctionParser.py libs/lixian_api.py libs/plugin_lixian_xunlei.py ~/.flexget/plugins/

and add config

xunlei_lixian:
    username: "<your username>"
    password: "<your password>"

presets<http://flexget.com/wiki/Plugins/preset> may help if you want to add it to all feeds.

Requires

2.6 <= python < 3.0
easy_install tornado (>=2.1.1)
easy_install requests (>= 0.10.0)
easy_install pyparsing
easy_install sqlalchemy

if using mysql

easy_install mysql-python

if mysql_config is not found

apt-get install mysqlclient-dev

else

apt-get install sqlite

License

lixian.xunlei is licensed under GNU Lesser General Public License. You may get a copy of the GNU Lesser General Public License from <http://www.gnu.org/licenses/lgpl.txt>

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.