Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/asmoker/btrackers-postman

btrackers-postman - BitTorrent Trackers Postman, fetch BitTorrent Trackers URL list from ngosang/trackerslist and post to your aria2 server via jsonrpc.
https://github.com/asmoker/btrackers-postman

aria2 bittorrent btrackers crontab jsonrpc postman python3 trackers trackerslist

Last synced: about 2 months ago
JSON representation

btrackers-postman - BitTorrent Trackers Postman, fetch BitTorrent Trackers URL list from ngosang/trackerslist and post to your aria2 server via jsonrpc.

Awesome Lists containing this project

README

        

# btrackers-postman

![logo](./logo.png)

BitTorrent Trackers Postman, fetch BitTorrent Trackers URL list from [ngosang/trackerslist](https://github.com/ngosang/trackerslist) and post to your aria2 server via jsonrpc.

## Usage

### PIP
```bash
$ pip install btrackers-postman
$ btp -h
usage: btp [-h] [-i index] [-p proxy] jsonrpc_url jsonrpc_token

positional arguments:
jsonrpc_url Target aria2 server jsonrpc url
jsonrpc_token Target aria2 server jsonrpc token

optional arguments:
-h, --help show this help message and exit
-i index, --index index
0 - trackers_best (DEFAULT)
1 - trackers_all
2 - trackers_all_udp
3 - trackers_all_http
4 - trackers_all_https
5 - trackers_best_ip
6 - trackers_all_ip
More detail: https://github.com/ngosang/trackerslist
-p proxy, --proxy proxy
Request proxy, http proxy or socks proxy likes:
http://user:[email protected]:8080 or socks5://127.0.0.1:1086
$ btp your_jsonrpc_url your_jsonrpc_token
```

### Docker

```bash
$ docker run --rm smoker/btrackers-postman btp -h
usage: btp [-h] [-i index] [-p proxy] jsonrpc_url jsonrpc_token

positional arguments:
jsonrpc_url Target aria2 server jsonrpc url
jsonrpc_token Target aria2 server jsonrpc token

optional arguments:
-h, --help show this help message and exit
-i index, --index index
0 - trackers_best (DEFAULT)
1 - trackers_all
2 - trackers_all_udp
3 - trackers_all_http
4 - trackers_all_https
5 - trackers_best_ip
6 - trackers_all_ip
More detail: https://github.com/ngosang/trackerslist
-p proxy, --proxy proxy
Request proxy, http proxy or socks proxy likes:
http://user:[email protected]:8080 or socks5://127.0.0.1:1086
$ docker run --rm smoker/btrackers-postman btp your_jsonrpc_url your_jsonrpc_token
```
---
![show](./show.png)

## License

The library is available as open source under the terms of the [Apache-2.0](https://opensource.org/licenses/Apache-2.0).