mirror of
https://github.com/danog/dns.git
synced 2024-11-30 04:29:06 +01:00
Fix benchmark example
This commit is contained in:
parent
ab07b327f0
commit
c47a1fb987
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user