百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

primp

> 开发工具
开源

可以模仿 Web 浏览器 TLS/HTTP2 打印的 HTTP 客户端

566 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

可以模仿 Web 浏览器 TLS/HTTP2 打印的 HTTP 客户端

PRIMP

HTTP client that can impersonate web browsers

Quick Start

Rust → /crates/primp

toml
[dependencies]
primp = "2"
rust
use primp::{Client, Impersonate};

#[tokio::main]
async fn main() -> Result {
    let client = Client::builder()
        .impersonate(Impersonate::ChromeV146)
        .build()?;
    let resp = client.get("https://tls.peet.ws/api/all").send().await?;
    println!("Body: {}", resp.text().await?);
    Ok(())
}

Python → /crates/primp-python

bash
pip install primp
python
import primp

client = primp.Client(impersonate="chrome_146")
resp = client.get("https://tls.peet.ws/api/all")
print(resp.text)

Browser profiles

Browser Profiles
Chrome chrome_144, chrome_145, chrome_146, chrome_147, chrome_148, chrome_149, chrome_150, chrome_151, chrome_152, chrome_153, chrome
Safari safari_18.5, safari_26, safari_26.3, safari_26.4, safari
Edge edge_144, edge_145, edge_146, edge_147, edge_148, edge_149, edge_150, edge_151, edge_152, edge_153, edge
Firefox firefox_140, firefox_146, firefox_147, firefox_148, firefox_149, firefox_150, firefox_151, firefox
Opera opera_126, opera_127, opera_128, opera_129, opera_130, opera_131, opera_132, opera_133, opera_134, opera_135, opera
Random random

OS: android, ios, linux, macos, windows, random


Disclaimer

This tool is for educational purposes only. Use it at your own risk.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustakamaifingerprinthttphttp-client

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具