From 16a4265688c4072a69405fd9b35485dcb09f0d0c Mon Sep 17 00:00:00 2001 From: Xavier Claude Date: Wed, 3 Aug 2016 15:54:13 +0200 Subject: [PATCH] Actualy put alexa 1000 top domains in the output list --- tools/generate-alexa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate-alexa.py b/tools/generate-alexa.py index 46c5fca..008cb96 100644 --- a/tools/generate-alexa.py +++ b/tools/generate-alexa.py @@ -17,7 +17,7 @@ with zipfile.ZipFile(alexa_file, 'r') as alexa_lists: for name in alexa_lists.namelist(): if name == "top-1m.csv": with alexa_lists.open(name) as top: - top1000 = top.readlines()[0:999] + top1000 = top.readlines()[:1000] else: continue