Add support for DBs that do not exist on the data/free endpoint#10
Open
jnko266 wants to merge 14 commits intoipinfo:masterfrom
Open
Add support for DBs that do not exist on the data/free endpoint#10jnko266 wants to merge 14 commits intoipinfo:masterfrom
data/free endpoint#10jnko266 wants to merge 14 commits intoipinfo:masterfrom
Conversation
…rds compatibility
…e backwards compatibility" This reverts commit 83cccd6.
…GZ files will automatically be unzipped after download
…GZ files will automatically be unzipped after download
Author
|
Added more changes to resolve #11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These changes resolve #9, and at the same time add support for downloading any of the IPInfo MMDBs that do not exist on the
data/freeendpoint.The
https://ipinfo.io/data/free/root URL gets used in requests for thecountry_asn,country, orasndatabases. Otherwise, the script defaults tohttps://ipinfo.io/data/. More endpoints can be defined in theipinfo.shfile (get_root_url()).