We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6e3fd9 commit 04cf93dCopy full SHA for 04cf93d
proxybroker/utils.py
@@ -113,7 +113,8 @@ def update_geoip_db():
113
filename = 'GeoLite2-City.tar.gz'
114
local_file = os.path.join(DATA_DIR, filename)
115
city_db = os.path.join(DATA_DIR, 'GeoLite2-City.mmdb')
116
- url = 'http://geolite.maxmind.com/download/geoip/database/%s' % filename
+ url = 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=vP65qsGQCxfewnTs' \
117
+ '&suffix=tar.gz '
118
119
urllib.request.urlretrieve(url, local_file)
120
0 commit comments