从独秀和潮兴图书馆下载图片
downloadduxiu的Python项目详细描述
关于此软件包
此DeLoDuuDuu程序包可用于从Du秀或超星下载书籍,如果该书在你的浏览器中是可访问的。
它运行在python 3平台上,依赖于requests包,因此在运行以下命令之前,请下载并安装python3和requests。
文件
downloadlib.py
- –prex=prex:下载目录,应在命令运行之前创建。
- –logifle=logfile:logfile
- –procnum=1:表示下载页面的线程数
- –yourlink:从返回的电子邮件中获得的链接。
# prex direction must be created in order to execute this command. # on linux ./downloadlib.py --logfile=logfile --prex=prex --procnum=n duxiu_url "yourlink" # on windows downloadlib.py --logfile=logfile --prex=prex --procnum=n duxiu_url "yourlink"
prefaces.py
# this script must be run first to prepare the prefaces before any images copyed to current direction. # on linux ./prefaces.py *.jpg *.png # on windows prefaces.py *.jpg *.png
gui.py
已弃用。不要运行此脚本。