martinbrose/cloudflarepycli

ipdatabase.com has shutdown

Closed this issue · 3 comments

Apparently, ipdatabase.com has shutdown and the domain is up for sale.
This leads to the library failing due to the response sent by the webserver. https://github.com/tevslin/cloudflarepycli/blob/29ea4530ac8bf227c4090237ea2f91b8b4730d45/src/cloudflarepycli/cloudflareclass.py#L81-L88

$ curl -L https://ipdatabase.com/ip/ip_address
<html>
  <head>
    <meta http-equiv='refresh' content='0; url=https://ipdatabase.com/' />
  </head>
</html>

I wonder if it would be possible to remove the dependencies from external services, since Cloudflare should provide all the relevant information.

@rodmatos I used this in one of my own projects and noticed this a few days ago. I have created a pull request that removes the dependency on ipdatabase.com that should resolve the problem.

@tevslin could you please review this PR and let us know if you can approve?

closed with version 1.8. removed dependency and added the ability to get the data from cloudflare. Thank you