aria2使用rpc下载百度云

本文介绍了如何下载并安装Aria2,通过配置aria2.conf启用RPC,然后利用RPC调用下载百度云中的文件。具体步骤包括从GitHub或通过apt-get安装Aria2,设置RPC为true,并通过Chrome油猴插件‘百度网盘超级助手’配合Pandownload接口使用Aria2进行下载。
摘要由CSDN通过智能技术生成

1.下载并安装

github地址->https://github.com/aria2/aria2

这边提供一下deb 包的下载地址 https://ugetdm.com/go/ubuntu-64-bionic-aria2-download

或者 sudo apt-get install aria2

可以尝试在命令行 使用

aria2c  --conf-path=<配置地址> -D        # aria2c -c -s 5 http://example.org/mylinux.iso        -c : 断点续传        -s : 使用线程数        2、Download from 2 sources        # aria2c http://a/f.iso   ftp://b/f.iso

下载相关的命令

1、Download from WEB # aria2c -c -s 5 http://example.org/mylinux.iso-c : 断点续传-s : 使用线程数2、Download from 2 sources# aria2c http://a/f.iso   ftp://b/f.iso3、Download using 2 connections per host# aria2c -x2 http://a/f.iso4、BitTorrent Magnet URI# aria2c 'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C'5、Metalink# aria2c http://example.org/mylinux.metalink6、Download URIs found in text file# aria2c -i uris.txt7、BT# aria2c /tmp/CentOS-6.3-i386-bin-DVD1to2.torrent# aria2c http://mirrors.163.com/centos/6.6/isos/x86_64/CentOS-6.6-x86_64-minimal.torrent

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值