Skip to content

curl-impersonate support #482

Open
Open
@selfisekai

Description

@selfisekai

https://github.com/lwthiker/curl-impersonate

curl-impersonate allows to fight with TLS fingerprinting, a technique used to prevent scraping (here's an example offering from Cloudflare: https://developers.cloudflare.com/bots/concepts/ja3-fingerprint).

I think supporting it here boils down this:

  • add impersonate-chrome and impersonate-ff optional features, changing the searched library config to libcurl-impersonate-chrome and libcurl-impersonate-ff respectively (add impersonate-chrome and impersonate-ff features (#482) #483)
  • add support for static-curl feature with impersonate features (using curl-impersonate instead of upstream; not necessarily needed)
  • expose curl_easy_impersonate in curl-sys crate (limited to impersonate features; docs: https://github.com/lwthiker/curl-impersonate#advanced-usage)
  • expose curl-impersonate specific opts (on impersonate features)
  • re-expose curl_easy_impersonate in curl::easy::Easy2 (and curl::easy::Easy?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions