Maxmind db as download source no longer works

This commit is contained in:
shortcutme 2020-01-04 16:55:08 +01:00
parent c5d51c9cab
commit 0af90aad37
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -561,7 +561,7 @@ class UiWebsocketPlugin(object):
self.log.info("Downloading GeoLite2 City database...") self.log.info("Downloading GeoLite2 City database...")
self.cmd("progress", ["geolite-info", _["Downloading GeoLite2 City database (one time only, ~20MB)..."], 0]) self.cmd("progress", ["geolite-info", _["Downloading GeoLite2 City database (one time only, ~20MB)..."], 0])
db_urls = [ db_urls = [
"https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz", "https://raw.githubusercontent.com/aemr3/GeoLite2-Database/master/GeoLite2-City.mmdb.gz",
"https://raw.githubusercontent.com/texnikru/GeoLite2-Database/master/GeoLite2-City.mmdb.gz" "https://raw.githubusercontent.com/texnikru/GeoLite2-Database/master/GeoLite2-City.mmdb.gz"
] ]
for db_url in db_urls: for db_url in db_urls: