PHP code example of bootjp / crawler

1. Go to this page and download the library: Download bootjp/crawler 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/ */

    

bootjp / crawler example snippets

bash
$ php wrapper.php --url=https://bootjp.me
or
$  php wrapper.php --url=https://bootjp.me --recursion=false
bash
$ php wrapper.php --url=https://bootjp.me --recursion=true
bash
docker pull bootjp/crawler
docker run bootjp/crawler php wrapper.php --url=https://bootjp.me --recursion=false --auth=username:password
shell
$ php wrapper.php --url=https://bootjp.me --recursion=false --auth=username:password