Buying php scrape cloudflare

Status
Not open for further replies.

xd12345

Active Member
127
2021
47
11,780
hi

Looking for php script that can bypass cloudflare (under attack mode) and scrape the website.
There are a lot of repository on github, but i have no idea how to integrate them into php

PM me
 
2 comments
its way more complicated that php only will not work for you u will clean proxies and nodejs with good experince and captcha solving api
best solution i think is scraperapi.com
 
you'll just need the cookies and headers from a session that has made it though the cloudlflare redirect. Some configurations of Selenium WebDriver (package to allow programmatic control of a browser) will work with this, then once you have the cookes and any headers you should be good until cookie expirys/header changes. Only way this becomes a pain in the ass is if it starts asking to complete a captcha before redirect, but you can integrate a captcha api to solve those if really needed as tabestmaker says.

Selenium does seem to have PHP bindings, although not sure what they are like to work with as i've used it with python only.
 
Status
Not open for further replies.
Back
Top