TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Python-cronet – a Python wrapper for Chromium's network library

1 点作者 zlagen大约 1 年前
Hi HN!<p>After being frustrated to need to run headless chrome&#x2F;selenium in my small scale scrapers because of Cloudflare and Akamai performing TLS fingerprinting. I decided to create a python library to use chromium&#x27;s network library called cronet. If you don&#x27;t need to run javascript and are only affected by TLS fingerprinting, using this library should be more efficient than pupeteer&#x2F;headeless chrome.<p>The library was inspired by curl-impersonate(<a href="https:&#x2F;&#x2F;github.com&#x2F;lwthiker&#x2F;curl-impersonate">https:&#x2F;&#x2F;github.com&#x2F;lwthiker&#x2F;curl-impersonate</a>) which solves something similar but by patching curl instead. I think the benefit of python-cronet is that it&#x27;s going to be simpler to keep it up to date.

暂无评论

暂无评论