备份4chan.org h.nimingban和kukuku.cc
island-backup的Python项目详细描述
孤岛备份是一个实用程序,可以从匿名的广域网站下载线程内容和图像。 内容将保存为HTML文件。
孤岛备份由aiohttp编写,它使用异步,因此只支持python3。
到目前为止,孤岛备份下面的支持网站
- a岛(https://h.nimingban.com/)
- 库库库(http://kukuku.cc/)
- 备胎岛(http://h.adnmb.com/Forum)
- 4chan(http://www.4chan.org/)
- 2chan(http://www.2chan.net/)
island_backup http://boards.4chan.org/a/thread/149376017
安装
使用pypi
pip3 install island-backup
用法
⇒ island_backup --help (env: island_backup) Usage: island_backup [OPTIONS][URL] Options: -url TEXT --debug enable debug mode --force-update force update image --conn-count INTEGER RANGE max conn number connector use. from 1 to 20. Default is no limit -p, --proxy TEXT socks proxy address, ex, 127.0.0.1:1080 --version Show the version and exit. --help Show this message and exit.
使用配置文件
创建一个名为island_backup.json的json文件,在其中编写配置。 程序将搜索当前路径或~/。island_backup/
对于windows用户,应该在程序主文件夹中创建文件。
例如,孤岛备份.json可以是
{"conn-count":"10","debug":true,"proxy":"127.0.0.1:1080"}