feat: geo risk scores
This commit is contained in:
parent
315dae7f06
commit
0e0d499428
17 changed files with 558 additions and 54 deletions
|
@ -93,7 +93,7 @@ class BlockRoskomsvobodaAutomation(BlockMirrorAutomation):
|
|||
for _event, element in lxml.etree.iterparse(BytesIO(self._data),
|
||||
resolve_entities=False):
|
||||
if element.tag == "domain":
|
||||
self.patterns.append("https://" + element.text.strip())
|
||||
self.patterns["roskomsvoboda"].append("https://" + element.text.strip())
|
||||
except XMLSyntaxError:
|
||||
activity = Activity(
|
||||
activity_type="automation",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue