1.获取迅雷离线Cookie.

Firefox使用 Export Cookies 插件,在登录迅雷离线网页版后点击工具—>Export Cookies…,保存为文本文件cookies.txt,如下图所示

export_cookies

 

2.安装wget或aria2

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
yum -y install aria2 wget

3.点击网页上迅雷链接获取下载地址get_xunlei_addr
4.连入SSH进行shell下载

aria2c -c -s 线程数 –load-cookies=cookies.txt “迅雷离线下载地址”

wget –load-cookies=cookies.txt “迅雷离线下载地址” -O 另存的文件名