Coder Social home page Coder Social logo

Comments (4)

Shinku-Chen avatar Shinku-Chen commented on June 7, 2024 1

https://github.com/Shinku-Chen/Ja3RoundTripper

自己魔改的
传入到http.tr就行

from gout.

guonaihong avatar guonaihong commented on June 7, 2024

ja3没玩过,可否聊下,能解决的问题。以及是否需要从零开发协助库。

from gout.

DeemoASCII avatar DeemoASCII commented on June 7, 2024

应该是需要实现一个新的 transport
可以参考一下 https://github.com/wangluozhe/requests 这个库,这是目前对于最新的ja3,ja4支持最好的库,但是整个使用上面不能链式调用以及有比较多的缺陷,我目前只能自己魔改这个库在使用。
然后这个库使用的 ja3 transport 好像是他自己写的,在这里 https://github.com/wangluozhe/chttp
比较古老一点的是这个库 https://github.com/CUCyber/ja3transport ,但是已经很久没更新了,对于chrome110之后的浏览器加密拓展几乎都不支持

from gout.

DeemoASCII avatar DeemoASCII commented on June 7, 2024

Ja3指纹是一种用于识别和追踪SSL/TLS加密流量的哈希值,不管如何更换http请求头以及其他参数,同一个客户端的ja3指纹都是不变的,代码跟浏览器的ja3指纹也是不同的,后端可以通过ja3识别定位到流量请求是python 的httpx发出的,还是android的okhttp发出的等等,每一个客户端都有固定的特征,后端很容易通过这个识别到爬虫,主流的境外电商网站几乎都用了这个反爬,国内应该还比较少

from gout.

Related Issues (20)

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.