Skip to main content

backup h.nimingban and kukuku.cc

Project description

Island Backup
=============
![author](https://img.shields.io/badge/Author-littlezz-blue.svg)
![py version](https://img.shields.io/pypi/pyversions/island-backup.svg)
![pypi status](https://img.shields.io/pypi/v/island-backup.svg)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)]()

以 `aiohttp` `asyncio` 为主编写的备份程序

备份匿名版上的串, 图片到本地, 以html形式查看


特性
---
- 支持A岛 (https://h.nimingban.com/)
- 支持kukuku (http://kukuku.cc/)
- 支持备胎岛 (http://h.adnmb.com/Forum)
- 自动备份图片
- 并发下载
- 使用aiohttp而非多线程

安装
---
###windows用户
可以下载编译好的二进制包

https://github.com/littlezz/island-backup/releases



###clone

需要python >= 3.5
依赖库请查看requirements.txt

下载程序
`git clone https://github.com/littlezz/island-backup`

安装依赖
`pip(3) install -r requirements.txt`


###pip

使用`pip` 安装

pip(3) install island-backup

之后可以使用 `island_backup` 指令


使用方法
------

###windows
windows 用户运行island_backup.exe 文件.
输入 url , 目前兹瓷 h.nimingban.com 和 kukuku.cc 的串

```shell
Please Input Url: http://h.nimingban.com/t/6048436?r=6048436
```

内容在backup文件夹里面.

###Mac && Linux
推荐使用 pip 安装, 之后可以使用`island_backup`, 会在当前目录下生成backup文件夹.

`island_backup http://h.nimingban.com/t/6048436?r=6048436`

使用`island_backup --help` 查看所有支持的指令


```shell

⇒ 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.

```

![](/screenshot/shell.png)



Screenshot
----------
![](/screenshot/html-preview.png)


Changelog
---------
- v1.4 修复nimingban, kukuku, 增加单元测试, 分离了类结构。
- v1.3 支持备胎岛 2016-09-02

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

island_backup-1.4.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

island_backup-1.4.1-py35-none-any.whl (16.5 kB view details)

Uploaded Python 3.5

File details

Details for the file island_backup-1.4.1.tar.gz.

File metadata

  • Download URL: island_backup-1.4.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for island_backup-1.4.1.tar.gz
Algorithm Hash digest
SHA256 51bc7b710c3695b90b5a531b40c9f43e71fcad1dd5ef50851075bdcc18433040
MD5 4d5f52b249720deb841ba697a462274b
BLAKE2b-256 3b57ac980861d69577d882c7d951aaa769bb5cfea1eacf9759184c613663de43

See more details on using hashes here.

File details

Details for the file island_backup-1.4.1-py35-none-any.whl.

File metadata

File hashes

Hashes for island_backup-1.4.1-py35-none-any.whl
Algorithm Hash digest
SHA256 e5bf72886c3e85448732a4d9e22c7d115cb6428f94cb7367ab677a1c45a8e746
MD5 d86ea1f4066635a477ddbdd68282aa32
BLAKE2b-256 75770bf86121e1b2f11b06d58ea5e8cf2ee53ef6a1f3a77935190c1b0eb43405

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page