pyqt5 PDM下载工具 Persepolis Download Manager 记录
目录为:
https://github.com/persepolisdm/persepolis/releases
https://github.com/persepolisdm/persepolis-windows-package-build
https://github.com/q3aql/aria2-static-builds
xml-rpc 接口
https://aria2.github.io/manual/en/html/aria2c.html#rpc-interface
先下载 源码,通过 git clone 或者是 下载 release版本的源码包
https://github.com/persepolisdm/persepolis/archive/3.2.0.zip
得到如下的目录
或者如下的目录:
persepolis
├── man
├── persepolis
│ ├── gui
│ └── scripts
├── resources
│ ├── Breeze
│ ├── Breeze-Dark
│ ├── locales
│ ├── Papirus
│ ├── Papirus-Dark
│ └── Papirus-Light
├── test
└── xdg
pip install pyqt5 requests pypiwin32 setproctitle psutil youtube_dl pyinstaller
然后 从下面的链接中下载:
https://github.com/persepolisdm/persepolis-windows-package-build
https://github.com/persepolisdm/persepolis-windows-package-build.git
得到aria2c.exe 和 ffmpeg.exe — 64位系统 对应 64的exe ,32位系统 使用32位的exe
放到 test目录下面
然后执行 test.py
执行效果:
下载东西的时候遇到问题:
试试手动编译不依赖 gnutls 呢, configure 的时候加入–without-gnutls --with-openssl
https://github.com/aria2/aria2/releases
https://github.com/q3aql/aria2-static-builds
解压到某一目录并切换到该目录下执行以下命令
./configure --without-gnutls --with-openssl
make && make install
F:\pyqt5\work\pyqt5_code_collection_jack\running\persepolis-3.2.0\test>aria2c.exe -v
aria2 version 1.35.0
Copyright © 2006, 2019 Tatsuhiro Tsujikawa
Error SSL/TLS handshake failure unable to get local issuer certificate
测试
在linux环境下测试和使用aria2c
https://blog.csdn.net/sophieliucm/article/details/78970004
aria2c --check-certificate=false https://github.com/aria2/aria2/archive/master.zip
5、aria2c用特定的配置文件启动
#./aria2c --conf-path=/yourpath/aria2.conf –D
参数-D使Aria2在后台运行,即使关闭终端也不会停止运行。
aria2 使用简介
https://www.jianshu.com/p/a8ddf16fabb2
http://aria2.github.io/manual/en/html/aria2c.html
gui 和 aria2c.exe之间是使用的 rpc通信
aria2c.exe --enable-rpc --rpc-listen-port=6801 --rpc-max-request-size=2M --rpc-listen-all --quiet=true https://github.com/aria2/aria2/archive/master.zip
host = localhost
port = 6801
server_uri = http://localhost:6801/rpc
aria2_path =
server = <ServerProxy for localhost:6801/rpc>
rpc
xmlrpc.client
xmlrpclib模块在python3中重命名为xmlrpc.client
import xmlrpc.client
s = xmlrpc.client.ServerProxy(‘http://localhost:6801/rpc’)
s.aria2.addUri([‘http://example.org/file’],)
测试 111
https://github.com/aria2/aria2/archive/master.zip
DOS cmd
aria2c.exe --enable-rpc --rpc-listen-port=6801 --rpc-max-request-size=2M --rpc-listen-all
aria2c.exe --enable-rpc --rpc-listen-port=6801 --rpc-max-request-size=2M --rpc-listen-all --quiet=true
import xmlrpc.client
s = xmlrpc.client.ServerProxy(‘http://localhost:6801/rpc’)
s.aria2.addUri([‘https://github.com/aria2/aria2/archive/master.zip’])
import xmlrpc.client
from pprint import pprint
s = xmlrpc.client.ServerProxy(‘http://localhost:6801/rpc’)
s.aria2.addUri([‘https://github.com/aria2/aria2/archive/master.zip’])
r = s.aria2.tellStatus(‘2089b05ecca3d829’)
pprint®
ca-certificate=C:\Program Files\aria2\certs\ca-certificates.crt
pyqt5 PDM下载工具 Persepolis Download Manager 记录相关推荐
- 不限速下载工具Persepolis Download Manager中文免费版
简介: Persepolis Download Manager是一款不限速下载工具,简称PDM,其优点是速度超级快.体积轻盈.性能强劲.资源占用少:支持 HTTP / FTP / BT / Magne ...
- pdm软件linux,Persepolis Download Manager(pdm下载器)
Persepolis Download Manager是一款基于[aria2]下载工具的图形客户端.它是一款开源免费跨平台且不限速的多线程下载软件,其优点是速度超级快.体积轻盈.性能强劲.资源占用少: ...
- linux系统下载18.04,在Ubuntu 18.04系统中下载安装Persepolis Download Manager
本文介绍在Ubuntu 18.04系统中下载和安装Persepolis Download Manager的方法,也适用在Linux Mint版本中,它是一个用Python编写的免费开源下载管理器,支持 ...
- Windows系统安装下载工具Internet Download Manager(IDM)6.41及配置使用
目录 前言 一.IDM6.41安装 二.使用配置 总结 前言 IDM是一款多线程下载工具,全称Internet Download Manager.IDM的多线程加速功能,能够充分利用宽带,所以下载速度 ...
- Mac多线程下载工具Neat Download Manager Mac免费版
Neat Download Manager Mac版是Mac上一款免费好用的多线程下载工具.NeatDownloadManager Mac版使用动态分段算法下载文件,支持HTTP,HTTPS和FTP协 ...
- 使用下载工具internet download manager进行批量图片下载
1.打开软件,选择站点抓取 2.输入方案名称,和页面地址,并选取方案模板 3.选择文件保存位置 4.根据需求进行配置 5.配置抓取方案 6.等着美女到你的硬盘即可
- Linux命令pdm -cli,pdm下载器下载 Persepolis Download Manager(aria2下载器) v3.1.0 Linux 官方安装免费版 下载-脚本之家...
Persepolis Download Manager是一款即开即用的 aria2 客户端,用来下载网络上的文件,支持 HTTP / HTTPS,FTP,SFTP,BitTorrent 和 Metal ...
- persepolis download manager中文版(pdm下载器)
如今,迅雷已经大不如前了,多了许多的广告弹窗不说,还关停了远程下载功能,并且很多资源还因为版权无法下载,使用体验非常不好.所以小编此次带来了一款能够替代迅雷的不限速的免费下载神器:pdm下载器,英文全 ...
- 使用Persepolis Download Manager多线程下载提升下载速度
前言 aria2是程序员们最爱的多线程下载工具,甚至还有远程下载,自动执行脚本等等附属功能,而且支持几乎所有平台.但是命令行的操作方式让普通用户不习惯,于是便衍生出了一系列套壳GUI程序. 这里介绍P ...
最新文章
- python中类型错误、计数不采用关键字的错误怎么改_Learning/Python-面试问题.md at master · yxxyyx1314/Learning · GitHub...
- Android开发之Retrofit小试牛刀
- NA-NP-IE系列实验实验15:RIPv2 手工汇总
- mysql 查询相同字段值的个数_好文 | MySQL 索引B+树原理,以及建索引的几大原则...
- ubuntu添加软件源
- 数据结构——二叉树的层次遍历进阶
- python是什么牌子主机_python 收集主机信息
- win10 解决升级 WordPress 时提示”另一更新正在进行”
- MySQL启动异常Starting MySQL.The server quit without .
- create-react-app 后需要npm run eject
- eclipse 远程调试mapreduce
- 加速器instagram_“类似Instagram过滤器”标记肿瘤图像中的分子细节
- 什么是MBR/DPT/DBR/BPB?
- 计算机win7开超级性能模式,win7系统设置最高性能的操作方法
- 爬FH... ... 爽!
- baidumap api MySQL_百度地图API
- linux默认端口范围是多少?
- NBA勇士陷入苦境 威金斯不保证这季会归队
- CodeForces - 25A IQ test【水题】
- MACBOOK 刻录系统盘及win7安装在mac上的步骤
热门文章
- [NWERC 2019] E. Expeditious Cubing 浮点数精度判断
- E. Arranging The Sheep
- 挂yy协议的服务器,yy协议挂机工具免费版
- php延迟2秒执行,php延时几秒后搜索
- C语言打印多颜色字体,多功能打印,协助开发调试
- windows防火墙开启端口
- jMetal学习笔记(二)-NSGAii源码解读
- Django笔记:应用和分布式路由(应用创建,分布式路由的配置,应用下的模板)
- Xilinx HLS 导出IP失败的最新解决方案(2022.1.15)
- python离线安装第三方库