Goutte icon indicating copy to clipboard operation
Goutte copied to clipboard

cloudflare bypass

Open barhom opened this issue 8 years ago • 5 comments

anyone that have a cloudflare bypass for goutte? (its the annoying, javascript, wait 5 seconds)

barhom avatar Apr 05 '18 22:04 barhom

Not possible with Goutte, since Goutte is just a HTTP client and does not interpret the response.

Maybe you can get around that page by using proxy servers?

dpde avatar Apr 06 '18 07:04 dpde

Well is it possible for me to use guzzlehttp to fetch the HTML and then pass $res->getBody() to goute to interpret the HTML without letting goutte doing the request itself?

barhom avatar Apr 06 '18 09:04 barhom

Sure you can get the html body, get data you need from it and then send another request.

But I can't tell you if this will be successful, because I don't know how the Cloudflare waiting page looks like.

dpde avatar Apr 06 '18 09:04 dpde

Try this to bypass CF https://github.com/KyranRana/cloudflare-bypass

Anan5a avatar Apr 18 '18 13:04 Anan5a

but how do you use the cloudflare bypass, there's like no documentation @Anan5a

Denoder avatar May 07 '18 16:05 Denoder