lwthiker / curl-impersonate

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

Make PHP use libcurl-impersonate #231

Open lolcatw opened 6 months ago

lolcatw commented 6 months 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 6 months ago

Is this the correct link?

lolcatw commented 6 months ago

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

EliotFR44 commented 5 months 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 5 months 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