From 88cfe44c2b0524aaed20790bee0d3a809c16bb08 Mon Sep 17 00:00:00 2001 From: neothematrix Date: Tue, 23 Jan 2024 18:03:31 +0000 Subject: [PATCH] fixed renew url --- noip-renew.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noip-renew.py b/noip-renew.py index 39dc93d..7f98edf 100755 --- a/noip-renew.py +++ b/noip-renew.py @@ -180,7 +180,7 @@ def get_host_link(host, iteration): @staticmethod def get_host_button(host, iteration): - return host.find_element(By.XPATH, ".//following-sibling::td[4]/button[contains(@class, 'btn')]") + return host.find_element(By.XPATH, "//td[6]/button[contains(@class, 'btn-success')]") def get_hosts(self): host_tds = self.browser.find_elements(By.XPATH, "//td[@data-title=\"Host\"]") @@ -190,7 +190,7 @@ def get_hosts(self): def run(self): rc = 0 - version = "1.7.0" + version = "1.7.1" self.logger.log(f"No-IP renew script version {version}") self.logger.log(f"Debug level: {self.debug}") try: