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

Address to get IP no longer working - how to fix #12

Open
TheGates opened this issue May 8, 2024 · 0 comments
Open

Address to get IP no longer working - how to fix #12

TheGates opened this issue May 8, 2024 · 0 comments

Comments

@TheGates
Copy link

TheGates commented May 8, 2024

This is a rather old script that I depend on and has always worked great. Recently, the address that it uses to get your external IP has stopped working. It can easily be fixed.

In the following def block

def getmyip(self):
        r = requests.get("https://api.simonpainter.com/ip/")
        return r.text

simply update the address to https://api.ipify.org/ and the script will run properly.

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