Fixed deprecated regexp escape sequence
This commit is contained in:
@@ -52,9 +52,9 @@ VERSION = '0.2'
|
||||
DESCRIPTION = 'A DynamicDns client like ddclient, but supporting multiple (sub)domains'
|
||||
STATUS_FILE = '/tmp/mddclient.tmp'
|
||||
CHECKIP_REQUEST_ADDR = 'http://checkip.dyndns.org'
|
||||
CHECKIP_RESPONSE_PARSER = '<body>Current IP Address: (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})</body>'
|
||||
CHECKIP_RESPONSE_PARSER = r'<body>Current IP Address: (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})</body>'
|
||||
DDCLIENT2_REQUEST_ADDR = "https://{}/nic/update?system=dyndns&hostname={}&myip={}"
|
||||
DDCLIENT2_RESPONSE_PARSER = '^(nochg|no_change|good) (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})$'
|
||||
DDCLIENT2_RESPONSE_PARSER = r'^(nochg|no_change|good) (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})$'
|
||||
USER_AGENT = 'Selfhost Utils Mddclient ' + VERSION
|
||||
|
||||
class Main:
|
||||
|
||||
Reference in New Issue
Block a user