Skip to content

Commit

Permalink
uri catcher update
Browse files Browse the repository at this point in the history
Now catches any uri, including ones with dots and dashes. Based of list on http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml as of 2017-03-14
  • Loading branch information
crattis committed Mar 14, 2017
1 parent 1397f33 commit afbfc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extractors/cyHttpExtractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
myFileName = input("What file has the data?: ")

dom_check = []
dom_url = re.compile(r'https?:\/\/[^\/]+:?')
dom_url = re.compile(r'[a-zA-Z\-\.]+:\/\/[^\/]+:?')

# Open the user provided file as read-only, build a list from the file, and
# close.
Expand Down

0 comments on commit afbfc58

Please sign in to comment.