lwthiker / curl-impersonate

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
MIT License
3.45k stars 229 forks source link

Make PHP use libcurl-impersonate #231

Open lolcatw opened 1 month ago

lolcatw commented 1 month ago

Hello!

By reading through some obscure answers listed on other bug reports, I was able to make PHP use curl-impersonate. I have written up a guide on how to do this for anyone who's looking for an answer:

https://git.lolcat.ca/lolcat/4get/src/branch/master/docs/configure.md#cloudflare-bypass

Maybe the maintainer can copy these instructions and bundle them in this repo for ease of access?

Thank you for your time.

phmLabs commented 1 month ago

Is this the correct link?

lolcatw commented 1 month ago

Sorry, git is being a shit. It should be there now. @phmLabs

EliotFR44 commented 2 weeks ago

Look kelvin zer0 curl-impersonate-php. Badly written, need to be partially rewrite but it works. https://github.com/kelvinzer0/curl-impersonate-php

lolcatw commented 2 weeks ago

Look kelvin zer0 curl-impersonate-php. Badly written, need to be partially rewrite but it works. https://github.com/kelvinzer0/curl-impersonate-php

this works, but this doesn't use the built in curl PHP bindings. Using this will always produce unreadable code