Skip to content

Commit

Permalink
~ example
Browse files Browse the repository at this point in the history
  • Loading branch information
vantoozz committed Feb 20, 2021
1 parent 453d3b1 commit ca71108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/07-metrics.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php declare(strict_types=1);

use Vantoozz\ProxyScraper\Proxy;
use Vantoozz\ProxyScraper\Scrapers;
use Vantoozz\ProxyScraper\Scrapers\FreeProxyListScraper;

require_once __DIR__ . '/../vendor/autoload.php';

$httpClient = guzzleHttpClient();

$scraper = new Scrapers\BlogSpotProxyScraper($httpClient);
$scraper = new FreeProxyListScraper($httpClient);

/** @var Proxy $proxy */
$proxy = $scraper->get()->current();
Expand Down

0 comments on commit ca71108

Please sign in to comment.