Pastebot



Latest version

  1. Pastebot Review
  2. Pastebot App
  3. Pastebot Download
  4. Pastebot For Windows
  5. Pastebot Download

Released:

pastebot

使用 pastebot serve 运行监控 $ pastebot serve -h Usage: pastebot serve OPTIONS 开始运行 pastebot Options: -tokens TEXT 微博 access tokens required -dsn TEXT sentry dsn -pool INTEGER 线程池大小 -qps FLOAT qps -timeout FLOAT 请求 timeout -h, -help Show this message and exit. Multi-Platform Clipboard Manager with Advanced Features. View 88 alternatives to CopyQ.

Project description

# pastebot
[pastebot](http://weibo.com/pastebot) 是一个监控 pastebin 的敏感内容,并发微博的 bot
### 安装
使用 pip 安装:
```
$ pip install -U pastebot
```
或使用 GitHub 安装
```
$ pip install -U git+https://github.com/fate0/pastebot.git
```
或使用源码安装:
```
$ python setup.py install
```
### 使用
基本命令:
```
$ pastebot
Usage: pastebot [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
-h, --help Show this message and exit.
Commands:
serve 开始运行 pastebot
weibo 生成 weibo access token
```
生成 weibo access token
```
$ pastebot weibo -h
Usage: pastebot weibo [OPTIONS]
生成 weibo access token
Options:
--key TEXT 微博 App Key [required]
--secret TEXT 微博 App Secret [required]
--domain TEXT 微博安全域名 [required]
-h, --help Show this message and exit.
$ pastebot weibo --key 1234 --secret 123123123123 --domain yourodmain.com
input auth_code: asdfsdfsdf
返回 access_token: you_access_token
过期时间: 37.329166666666666h
用户 uid: 111111
```
使用 `pastebot serve` 运行监控
```
$ pastebot serve -h
Usage: pastebot serve [OPTIONS]
开始运行 pastebot
Options:
--token TEXT 微博 access token [required]
--dsn TEXT sentry dsn
--pool INTEGER 线程池大小
--qps FLOAT qps
--timeout FLOAT 请求 timeout
-h, --help Show this message and exit.
$ pastebot serve --token you_access_token
```
### 参考
* [PasteHunter](https://github.com/kevthehermit/PasteHunter)
* [dumpmon](https://github.com/jordan-wright/dumpmon)

Release historyRelease notifications | RSS feed

0.1.2

0.1.1

0.1.0

0.0.1

Download files

Pastebot Review

Pastebot download

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

Files for pastebot, version 0.1.2
Filename, sizeFile typePython versionUpload dateHashes
Filename, size pastebot-0.1.2-py2.py3-none-any.whl (9.3 kB) File type Wheel Python version 2.7 Upload dateHashes
Filename, size pastebot-0.1.2.tar.gz (9.7 kB) File type Source Python version None Upload dateHashes
CloseBot

Hashes for pastebot-0.1.2-py2.py3-none-any.whl

Pastebot

Pastebot App

Hashes for pastebot-0.1.2-py2.py3-none-any.whl
AlgorithmHash digest
SHA2561cebb6af41ffa6cc58c27a749130417a02d382074bdd57f6574b93111166d684
MD52ee1ccf58556f2c259c43e4fecb96126
BLAKE2-25693db7e0b8c863cc92f1d51e6e04358168ce7d15d916e95184c98173e23034f4f

Pastebot Download

Pastebot

Pastebot For Windows

Close

Hashes for pastebot-0.1.2.tar.gz

Pastebot Download

Hashes for pastebot-0.1.2.tar.gz
AlgorithmHash digest
SHA2563a85449df3c2098316f10af184f88e5b856a1ae7e0f6ca78b313ab7997fc2163
MD527104a3774b5e486feaa50668ba67115
BLAKE2-256013122af32d81bf63a75e7beedf0a25a5413c0573e88cc628e962823f660999c