Skip to content

Commit

Permalink
#201 change request to fortiguard service from http to https
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Feb 26, 2018
1 parent 4d8ea69 commit f26d96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzers/Fortiguard/urlcategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run(self):
if self.data_type == 'domain' or self.data_type == 'url':
try:
pattern = re.compile("(?:Category: )([\w\s]+)")
baseurl = 'http://www.fortiguard.com/webfilter?q='
baseurl = 'https://www.fortiguard.com/webfilter?q='
url = baseurl + self.getData()
req = requests.get(url)
category_match = re.search(pattern, req.content, flags=0)
Expand Down

0 comments on commit f26d96d

Please sign in to comment.