PHP code example of kies-media / scraper-class

1. Go to this page and download the library: Download kies-media/scraper-class 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/ */

    

kies-media / scraper-class example snippets



per=new \KiesMedia\ScraperClass\scraperClass();
try{
    echo $scraper->getUrlByProxy("https://kies-media.de/");
}catch(Exception $e){
    echo $e->getMessage();
}


per=new \KiesMedia\ScraperClass\scraperClass("localhost","root","pass","databasename");
try{
    echo $scraper->getUrlByProxy("https://kies-media.de/",10);
}catch(Exception $e){
    echo $e->getMessage();
}