From 9daba0c43735959f738d37807298434d97b06514 Mon Sep 17 00:00:00 2001 From: Phoul Date: Fri, 28 Feb 2014 19:04:39 -0600 Subject: [PATCH] Fixing invalid COUNTRY_CODE_URL --- blockfinder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockfinder b/blockfinder index 9fc4653..e64c977 100755 --- a/blockfinder +++ b/blockfinder @@ -249,7 +249,7 @@ class DownloaderParser: ftp://ftp.ripe.net/ripe/dbase/split/ripe.db.inet6num.gz """ - COUNTRY_CODE_URL = "http://www.iso.org/iso/list-en1-semic-3.txt" + COUNTRY_CODE_URL = "http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements_txt-temp.htm" def download_maxmind_files(self): """ Download all LIR delegation urls. """ @@ -553,7 +553,7 @@ class Lookup: """ Return a dictionary mapping country name to the country code. """ country_code_path = os.path.join(self.cache_dir, - 'list-en1-semic-3.txt') + 'country_names_and_code_elements_txt-temp.htm') if not os.path.exists(country_code_path): return self.map_co = {}