This commit is contained in:
Jing Ling
2020-08-22 00:08:50 +08:00
parent 86dd6192a7
commit 9847ca6ecc
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -9,7 +9,6 @@ class Domain(object):
:param str string: input string
"""
def __init__(self, string):
self.string = str(string)
self.regexp = r'\b((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63}\b'
-1
View File
@@ -5,6 +5,5 @@ class Query(Module):
"""
Query base class
"""
def __init__(self):
Module.__init__(self)