Skip to content

Commit 019c899

Browse files
Ernests StalsErnests Stals
Ernests Stals
authored and
Ernests Stals
committed
added Timeout and redirect
1 parent 93b55eb commit 019c899

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

wappalyzer/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def analyze(self, url, user_agent=None):
3131

3232
response = requests.get(
3333
url=url,
34+
allow_redirects=True,
35+
timeout = 10,
3436
headers={'User-Agent': user_agent or settings.USER_AGENT}
3537
)
3638
return self.analyze_from_data(

0 commit comments

Comments
 (0)