a http/ftp proxy for xunlei lixian
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with binux:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libs
.gitignore
LICENSE
README.md
proxy_handler.py
tornado_pyftpdlib_ioloop.py
xunlei_ftpserver.py
xunlei_webserver.py

README.md

xunlei-lixian-proxy(alpha)

a http/ftp proxy for xunlei lixian

  • visit your xunlei lixian space with any ftp client.
  • streaming video to any media player from xunlei lixian online.
  • fully asynchronous with tornado ioloop.
  • it's just a demo of streaming video through different protocol. it may not work fine as a product.
  • may only work with tornado=3.1.1

USAGE

###http proxy server

  • python xunlei_webserver.py
  • login with your xunlei account

###ftp proxy server

  • python xunlei_ftpserver.py
  • login with your xunlei account (replace @ with * in your account)

###online package

python -c "u='http://f.binux.me/pyproxy.zip';import urllib2,sys,tempfile;f=tempfile.NamedTemporaryFile(suffix='.zip');urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()));f.write(urllib2.urlopen(u).read());sys.path.insert(0,f.name);f.flush();from xunlei_webserver import run;run();"
python -c "u='http://f.binux.me/pyproxy.zip';import urllib2,sys,tempfile;f=tempfile.NamedTemporaryFile(suffix='.zip');urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()));f.write(urllib2.urlopen(u).read());sys.path.insert(0,f.name);f.flush();from xunlei_ftpserver import run;run();"

##中文简介

迅雷离线空间协议转换

  • 通过ftp的方式访问你的迅雷离线空间
  • 在线串流离线空间中的视频到任何播放器
  • 完全异步化(使用tornado ioloop)
  • 这只是一个多协议转换的原理验证演示,不保证可以用于生产环境
  • 可以只在tornado=3.1.1版本下工作