# | |
# @fileoverview 上传目录下的所有 torrent 文件到迅雷离线. | |
# @author ChenCheng <sorrycc@gmail.com> | |
# @ref https://github.com/iambus/xunlei-lixian | |
# | |
tmpdir="path/to/tmp/directory"; | |
script="path/to/xunlei-lixian/lixian_cli.py" | |
if [ ! -d "$tmpdir" ]; then | |
mkdir -p "$tmpdir"; | |
fi | |
#python $script login | |
find ~/Downloads/ -name "*.torrent" | while read name; do | |
python $script add --torrent "$name" | |
mv "$name" "$tmpdir" | |
done | |
rm -rf "$tmpdir" |
![]() |
1
ch3nz 2013-09-19 23:06:24 +08:00
大名鼎鼎的 https://github.com/iambus/xunlei-lixian
批量添加: ./lixian_cli.py add -bt ~/Downloads/*torrent ps,少下点儿x片儿就没这些问题了啊 |
![]() |
2
badec 2013-09-20 01:15:13 +08:00
呃,如果有权限能在迅雷离线使用,直接在客户端添加种子,迅雷离线会自动添加
|
![]() |
4
iambeginner OP |
![]() |
5
iambeginner OP |
![]() |
6
iambeginner OP 没有回复...
|
![]() |
7
yangtzerong 2014-07-11 16:51:23 +08:00
我已经搞定了 现在好用了 你没有登录
|