I want to parse the HTML code from a webpage with PHP Curl, but there is an error msg that I can't access the site without JavaScript.
Can I enable JavaScript with PHP Curl?
JavaScript is executed by a browser; cURL does not have a JavaScript parser, therefore can not execute it.
Because the website is expecting something to tell it that javascript is enabled, you'll need to use a tool that can execute the webpage through an actual browser to give you the html.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With