From c47a1fb987a25e3888a8097a784986629280d04c Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 11 Jun 2019 15:17:48 +0200 Subject: [PATCH] Fix benchmark example --- examples/benchmark.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/benchmark.php b/examples/benchmark.php index 71275a4..5c153d1 100644 --- a/examples/benchmark.php +++ b/examples/benchmark.php @@ -7,7 +7,7 @@ use Amp\Loop; print "Downloading top 500 domains..." . PHP_EOL; -$domains = \file_get_contents("https://moz.com/top500/domains/csv"); +$domains = \file_get_contents("https://moz.com/top-500/download?table=top500Domains"); $domains = \array_map(function ($line) { return \trim(\explode(",", $line)[1], '"/'); }, \array_filter(\explode("\n", $domains)));