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
URLhaus analyzer fails to extract the data from the page queried when analyzing an URL. This is probably due to an update of the URLhaus website which changed its layout.
Steps to Reproduce
Analyze an URL with URLhaus 1.0 analyzer
The analyzer fails
Possible Solutions
Fix the query result parsing.
Complementary information
Here is the analyzer output when analyzing an URL
Invalid output
Traceback (most recent call last):
File "URLhaus/URLhaus_analyzer.py", line 50, in <module>
URLhausAnalyzer().run()
File "URLhaus/URLhaus_analyzer.py", line 23, in run
'results': self.search(self.get_data())
File "URLhaus/URLhaus_analyzer.py", line 17, in search
return URLhaus(indicator).search()
File "/opt/cortex-analyzers/analyzers/URLhaus/URLhaus.py", line 42, in search
return self.parse(res)
File "/opt/cortex-analyzers/analyzers/URLhaus/URLhaus.py", line 52, in parse
rows = table.find_all("tr")[1:]
AttributeError: 'NoneType' object has no attribute 'find_all'
If I have some time today, I will try to find why it crashes exactly and to fix it
The text was updated successfully, but these errors were encountered:
@srilumpa I confirmed that the DOM structure of URLhaus website is same as before and the analyzer works correctly.
So could you tell me the URL you tried to analyze?
(For debugging purpose)
Request Type
Bug
Work Environment
Description
URLhaus analyzer fails to extract the data from the page queried when analyzing an URL. This is probably due to an update of the URLhaus website which changed its layout.
Steps to Reproduce
Possible Solutions
Fix the query result parsing.
Complementary information
Here is the analyzer output when analyzing an URL
If I have some time today, I will try to find why it crashes exactly and to fix it
The text was updated successfully, but these errors were encountered: