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 7af184f commit 7cf050f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/03-single_scraper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

$scraper = new Scrapers\FreeProxyListScraper(guzzleHttpClient());
$scraper = new Scrapers\UsProxyScraper(guzzleHttpClient());

foreach ($scraper->get() as $proxy) {
echo $proxy . "\n";
Expand Down
2 changes: 1 addition & 1 deletion examples/07-metrics.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

$scraper = new Scrapers\FreeProxyListScraper(guzzleHttpClient());
$scraper = new Scrapers\UsProxyScraper(guzzleHttpClient());

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

0 comments on commit 7cf050f

Please sign in to comment.