PHP code example of tibinsunny / easyscrape

1. Go to this page and download the library: Download tibinsunny/easyscrape library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tibinsunny / easyscrape example snippets



 asyScrape\easyScrape;


$instance = new easyScrape();

$result=$instance->scrapeNow('https://www.google.com','<title>','</title>');
var_dump($result)