I've been trying to web scrape https://www.worldpadeltour.com/en/tournaments/cupra-vigo-open-2020/2020/?tab=results but with normal scraping or with cUrl I end up on the tournament General info tab. Where the Results tab is not loaded into curl, but in a browser, I come to the result tab with the above url.
I've been trying with all these methods with the same result, I have also looked for XHR requests, but I haven't located any. What I want in my executed curl variable is for example <span>6-0 / 7-6(5) </span>
. I've tried the below options with no avail.
CURLOPT_USERAGENT (with Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36)
CURLOPT_FOLLOWLOCATION
CURLOPT_COOKIESESSION, TRUE
CURLOPT_POSTFIELDS, 'tab=results'
CURLOPT_RETURNTRANSFER
CURLOPT_SSL_VERIFYHOST, FALSE);
CURLOPT_SSL_VERIFYPEER`
What I essentially want are the scores in that tab to my variable, so I can scrape names and results. I get the same results as if I'd just use file_get_contents