We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48f479c commit 063c536Copy full SHA for 063c536
1 file changed
dnsdumpster/DNSDumpsterAPI.py
@@ -119,7 +119,7 @@ def search(self, domain):
119
# XLS hosts.
120
# eg. tsebo.com-201606131255.xlsx
121
try:
122
- pattern = r'/static/xls/' + domain + '-[0-9]{12}\.xlsx'
+ pattern = r'/static/xlsx/' + re.escape(domain) + r'-[a-f0-9\-]{36}\.xlsx'
123
xls_url = re.findall(pattern, req.content.decode('utf-8'))[0]
124
xls_url = 'https://dnsdumpster.com' + xls_url
125
xls_data = base64.b64encode(self.session.get(xls_url).content)
0 commit comments