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: 5 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.
- Host: GitHub
- URL: https://github.com/asmoker/btrackers-postman
- Owner: asmoker
- License: apache-2.0
- Created: 2017-11-01T02:01:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T07:31:36.000Z (almost 6 years ago)
- Last Synced: 2025-06-27T02:07:14.365Z (9 months ago)
- Topics: aria2, bittorrent, btrackers, crontab, jsonrpc, postman, python3, trackers, trackerslist
- Language: Python
- Homepage:
- Size: 484 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# btrackers-postman

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:password@10.1.1.6: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:password@10.1.1.6:8080 or socks5://127.0.0.1:1086
$ docker run --rm smoker/btrackers-postman btp your_jsonrpc_url your_jsonrpc_token
```
---

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