一种异步的图像/文件下载程序和线程归档程序,用于futaba样式的图像板,如4chan和8chan。
Chandere的Python项目详细描述
啊![钱德雷][国际音乐节1] ##由[Jakob.][1]编程和维护的命令行实用程序 一个非常模块化的异步归档工具,用于各种图像板, 短信板,还有布勒斯
chandere 2.5.0目前处于开发的alpha状态,很可能 带来很多虫子有关报告问题的信息,请参阅[HACKING.md][2]
Chandere是免费软件,根据[GNU通用公共许可证]获得许可。[3]
[![生成状态](https://travis-ci.org/TsarFox/chandere.svg?branch=master)](https://travis-ci.org/TsarFox/chandere)[![PyPI版本](https://img.shields.io/pypi/v/Chandere.svg)](https://pypi.python.org/pypi/Chandere/)[![AUR版本](https://img.shields.io/aur/version/chandere.svg)](https://aur.archlinux.org/packages/chandere/)[![许可证](https://img.shields.io/github/license/tsarfox/chandere.svg)](https://www.gnu.org/licenses/gpl.html)
#默认发行版支持的网站 *4汉
默认发行版支持的功能 *正在下载所有文件
#安装 arch linux鼓励用户使用pacman安装chandere 包装在[AUR.][4]中
` $ # If the PKGBUILD is in the current working directory: $ makepkg -si `
如果您正在运行尚不打包的发行版,或者 如果不运行linux,建议通过pip安装。
` $ # It is recommended that you use the latest version of pip and setuptools when installing Chandere. # pip install --upgrade pip setuptools # pip install --upgrade chandere `
如果Pip不是,则可以使用存储库根目录中的setup.py 但不建议这样做。
` # python setup.py install `
如果chandere安装了pip或setup.py,则必须手动安装手册页 移到你的人行道
` $ make doc # cp docs/*.1.gz /usr/share/man/man1 # The destination path may be different on your system. `
#示例
` chandere /fit/17018018 `
将所有图像从https://boards.4chan.org/fit/thread/17018018/下载到 当前工作目录,保留原始文件名。
` chandere -o"{index}.{ext}" /fit/17018018 `
执行与上面相同的操作,但将每个图像保存为一个文件名 包含遇到它的索引。
` chandere /tech/ -w 8chan `
从https://8ch.net/tech/res/589254.html下载所有图像
#延伸
见[Hacking.md][2]。
#待办事项
- 修正目标的顺序。
- 公开一个api,以便chandere可以用作库。
[1]:http://jakob.space/ [2]:https://github.com/TsarFox/chandere/blob/master/HACKING.md [3]:http://gnu.org/licenses/gpl.html [4]:https://aur.archlinux.org/packages/chandere/
[图像1]:https://raw.githubusercontent.com/TsarFox/chandere/master/chandere_logo.png