Coder Social home page Coder Social logo

u20024804 / btrackers-postman Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asmoker/btrackers-postman

0.0 2.0 0.0 497 KB

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

License: Apache License 2.0

Dockerfile 1.55% Python 98.45%

btrackers-postman's Introduction

btrackers-postman

logo

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

Usage

PIP

$ 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

$ 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

License

The library is available as open source under the terms of the Apache-2.0.

btrackers-postman's People

Contributors

asmoker avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.