Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shortcut/genlist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function gen-list-for-country() {

[ -n "$MAXMIND_LICENSE_KEY" ] || die 'Missing envvar "MAXMIND_LICENSE_KEY".'
mkdir -p resources
curl "https://download.maxmind.com/app/geoip_download?license_key=$MAXMIND_LICENSE_KEY&edition_id=GeoLite2-Country-CSV&suffix=zip" > geoip2.zip
curl -L "https://download.maxmind.com/app/geoip_download?license_key=$MAXMIND_LICENSE_KEY&edition_id=GeoLite2-Country-CSV&suffix=zip" > geoip2.zip
unzip -j geoip2.zip
# See resources/GeoLite2-Country-Locations-en.csv for the mapping of id to country code
gen-list-for-country 1814991 cn
Expand Down
Loading