PHP code example of alex-moreno / glitcherbot

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

    

alex-moreno / glitcherbot example snippets

 bin/visual_regression_bot.php acquia:acsf-crawl-sites sites.json
 bin/visual_regression_bot.php
 bin/visual_regression_bot.php help <command>
cp config.sample.php config.php



return [
  'headers' => [
    'User-Agent'   => 'GlitcherBotScrapper/0.1',
    'Accept'       => 'application/json',
  ],
  'http_errors' => false,
  'connect_timeout' => 0, // wait forever
  'read_timeout' => 0,
  'timeout' => 0, // wait forever
  'concurrency' => 60,
];