mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-07 01:25:21 +00:00
Merge pull request #365 from garanews/patch-2
fix in case GSB value is missing
This commit is contained in:
commit
b0041a6ad0
@ -58,7 +58,7 @@ class URLhaus:
|
||||
"link": cols[1].find("a").attrs.get("href"),
|
||||
"status": cols[2].text,
|
||||
"tags": cols[3].text.split(),
|
||||
"gsb": cols[4].text,
|
||||
"reporter": cols[5].text
|
||||
"gsb": cols[4].text if len(cols) > 5 else None,
|
||||
"reporter": cols[5].text if len(cols) > 5 else cols[4].text
|
||||
})
|
||||
return results
|
||||
|
Loading…
Reference in New Issue
Block a user