Skip to content

Commit

Permalink
only scan webpages
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v committed Apr 1, 2024
1 parent 6d86371 commit c9ffde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arjun/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def stable_request(url, headers):
allow_redirects=redirects_allowed)
content = response.headers.get('Content-Type', '')
if not ('text' in content or 'html' in content or 'json' in content or 'xml' in content):
print('%s URL doesn\t seem to be a webpage. Skipping.' % info)
print('%s URL doesn\'t seem to be a webpage. Skipping.' % info)
return None
return response.url
except Exception as e:
Expand Down

0 comments on commit c9ffde2

Please sign in to comment.