mirror of https://github.com/CIRCL/AIL-framework
fix: [api] get titles domain
parent
782677e8ff
commit
495ceea73d
|
@ -236,7 +236,8 @@ class AbstractDaterangeObjects(ABC):
|
||||||
content = obj.get_content()
|
content = obj.get_content()
|
||||||
if content not in titles:
|
if content not in titles:
|
||||||
titles[content] = []
|
titles[content] = []
|
||||||
titles[content].append(obj.get_id())
|
for domain in obj.get_correlation('domain').get('domain', []):
|
||||||
|
titles[content].append(domain[1:])
|
||||||
return titles
|
return titles
|
||||||
|
|
||||||
def search_by_content(self, content_to_search, r_pos=False, case_sensitive=True):
|
def search_by_content(self, content_to_search, r_pos=False, case_sensitive=True):
|
||||||
|
|
Loading…
Reference in New Issue