random-tunnel
一款可以使用随机代理地址访问目标服务的turbo-tunnel插件
安装方法
$ pip3 install random-tunnel
使用方法
$ turbo-tunnel -l http+random://127.0.0.1:9999/?provider=${provider_url} -p random_tunnel
这样会在本地创建一个HTTPS代理服务器,客户端通过该代理服务器访问目标服务时,会随机使用${provider_url}指定的代理服务器列表中的某一个代理。
支持的provider类型
http/https
该url必须按照以下格式返回application/json类型的包体:
{
"results": [{
"ip": "1.2.3.4",
"port": 8080,
"type": "https"
}, {
"ip": "2.2.2.2",
"port": 8888,
"type": "https"
}]
}
同时,该url需要支持limit查询参数用于指定查询的条数。
file
本地文件方式,如:file:///data/proxies.txt。该文件需要将代理服务器以每行一个的形式存放,格式为:http://1.2.3.4:8080。
Metadata
Release files for random-tunnel 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| random-tunnel-0.1.1.tar.gz | 5.2 kB | Without provenance | Details for random-tunnel-0.1.1.tar.gz |
Release files / random-tunnel-0.1.1.tar.gz
| Download URL | random-tunnel-0.1.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1024a68fea798983ece5f28e94048343fe0d18ed4a3c9826caa1a0cd5c447e98
|
|
BLAKE2b-256 checksum How to use checksums |
181d3c6436ab35b50ddbdffa104459990002cd47a26b2b0e7b10401ac4896a73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.8
|
Security for random-tunnel 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.