You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to look up an URL in the analyser (from Cortex), I get the following error;
Invalid output
Traceback (most recent call last):
File "PhishTank/phishtank_checkurl.py", line 73, in
PhishtankAnalyzer().run()
File "PhishTank/phishtank_checkurl.py", line 44, in run
r = self.phishtank_checkurl(data)
File "PhishTank/phishtank_checkurl.py", line 19, in phishtank_checkurl
return json.loads(r.content)
File "/usr/lib/python3.5/json/init.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'
Steps to Reproduce
(keep this section only if the issue relates to a bug)
Bug
Work Environment
N/A
Description
When attempting to look up an URL in the analyser (from Cortex), I get the following error;
Invalid output
Traceback (most recent call last):
File "PhishTank/phishtank_checkurl.py", line 73, in
PhishtankAnalyzer().run()
File "PhishTank/phishtank_checkurl.py", line 44, in run
r = self.phishtank_checkurl(data)
File "PhishTank/phishtank_checkurl.py", line 19, in phishtank_checkurl
return json.loads(r.content)
File "/usr/lib/python3.5/json/init.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'
Steps to Reproduce
(keep this section only if the issue relates to a bug)
Requirement already up-to-date: cortexutils in /usr/local/lib/python3.5/dist-packages (1.2.4)
thanks for any help!
The text was updated successfully, but these errors were encountered: