From d97374145c1a727e63889b6dc856f20486572901 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Tue, 17 Aug 2021 15:42:53 +0800 Subject: [PATCH] fix: wrong remove of tld list and icp list --- src/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.php b/src/main.php index 78b5399..a5636be 100644 --- a/src/main.php +++ b/src/main.php @@ -40,7 +40,7 @@ foreach ($tlds as $index => $tld) { die('error -> fail to load page'); } $info = $iana->getTldInfo('.' . $tld, $html_content); - $tldInfo[$tld] = $info; + $tldInfo['.' . $tld] = $info; echo PHP_EOL; }