Last active
February 5, 2024 21:17
-
-
Save flid0/8784baff35ec061f00432a9db3525c20 to your computer and use it in GitHub Desktop.
update_ipv4_manual.py
This file contains 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
#This is a manually activated version of my IPv4 updater for dynv6.com | |
#Auto Version - https://gist.github.com/flid0/91bd9a3e15b61a8fd5797c325b3451a0 | |
import urllib.request | |
import requests | |
import time | |
''' | |
MODIFY VARIABLES BELOW | |
''' | |
token = # your token | |
zone = # your zone | |
ip = urllib.request.urlopen('https://ident.me').read().decode('utf8') #ident.me is a tool for identifiying your ipv4 address | |
request = urllib.request.urlopen(f"https://ipv4.dynv6.com/api/update?ipv4={ip}&token={token}&zone={zone}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment