Web Scraping - PHP script to get the HTML of a webpage after javascript loaded
$10-30 USD
Paid on delivery
I would need a PHP function that is returning the html code of a webpage after the javascripts have been executed. At the moment if you CURL the page, the html won't look the same but it would be quite empty so it requires using something like v8js which is already installed on the server.
The function should be able to return the html for different websites (even ajax) after the js have been executed.
The function would look like
function getHtmlAfterJS($url)
{// here is the code
return $html;
}
$url is the URL of the website
$html is the HTML code of the website after the JS was executed.
Project ID: #17983971
About the project
Awarded to:
Hi, If you already have nodejs installed on the server why not use that to do the scraping with a headless chromium. You can even have an express api’ Thank you, Daniel
6 freelancers are bidding on average $28 for this job
ok got it ... this will be done according to your requiremnets .i am expert in curl php .. . message me so we can proceed further....thanks...................
Hi, I have checked the requirements. Will do this script using PHP. I'm available to start now. Please share additional details. Regards, Mohan