Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/binux/lixian.xunlei

xunlei lixian api & a website project base on it & a plugin for flexget
https://github.com/binux/lixian.xunlei

Last synced: about 2 months ago
JSON representation

xunlei lixian api & a website project base on it & a plugin for flexget

Awesome Lists containing this project

README

        

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

Installation of Dependencies
----------------------------
::

pip install -r requirements.txt

Usage
-----
Just ::

python main.py --username= --password=

or you can using a config file ::

username = ""
password = ""

and start with command ::

python main.py --f=

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: ""
password: ""

presets may help if you want to add it to all feeds.

Requires
--------
::

2.6 <= python < 3.0

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