Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the format of the csv file #1

Open
duchengyao opened this issue Apr 21, 2023 · 0 comments
Open

the format of the csv file #1

duchengyao opened this issue Apr 21, 2023 · 0 comments

Comments

@duchengyao
Copy link

duchengyao commented Apr 21, 2023

I wanted to convert the format of ip2location to mmdb, so I found this project. I don't understand perl syntax.

I found the input format is 185.199.108.0/23,3659,US,Github in the readme.
But in convert.pl there are some variables like latitude longitude.

\$iprange,
\$country,
# \$continent,
# \$countryID,
\$latitude,
\$longitude,
# \$inEU,
\$asn,
\$aso,
\$isAnycast,
\$isSatelliteProvider,
\$isAnonymousProxy );

So what is the correct input format, do I need to put headers like ip-range,ASN,Country,ISP-Name on the first line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant