Skip to content

Commit

Permalink
fixed renew url
Browse files Browse the repository at this point in the history
  • Loading branch information
neothematrix committed Jan 23, 2024
1 parent 446f61d commit 88cfe44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noip-renew.py
Original file line number Diff line number Diff line change
Expand Up @@ -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\"]")
Expand All @@ -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:
Expand Down

0 comments on commit 88cfe44

Please sign in to comment.