Use HTTPS to download GeoLite2-City database
This commit is contained in:
parent
a37c3231b0
commit
1229b19a1e
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ class UiWebsocketPlugin(object):
|
||||||
self.log.info("Downloading GeoLite2 City database...")
|
self.log.info("Downloading GeoLite2 City database...")
|
||||||
self.cmd("notification", ["geolite-info", "Downloading GeoLite2 City database (one time only, ~15MB)...", 0])
|
self.cmd("notification", ["geolite-info", "Downloading GeoLite2 City database (one time only, ~15MB)...", 0])
|
||||||
db_urls = [
|
db_urls = [
|
||||||
"http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz",
|
"https://geolite.maxmind.com/download/geoip/database/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:
|
||||||
|
|
Loading…
Reference in a new issue