mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 07:47:17 +00:00
fix: [api] get titles domain
This commit is contained in:
parent
782677e8ff
commit
495ceea73d
1 changed files with 2 additions and 1 deletions
|
@ -236,7 +236,8 @@ class AbstractDaterangeObjects(ABC):
|
|||
content = obj.get_content()
|
||||
if content not in titles:
|
||||
titles[content] = []
|
||||
titles[content].append(obj.get_id())
|
||||
for domain in obj.get_correlation('domain').get('domain', []):
|
||||
titles[content].append(domain[1:])
|
||||
return titles
|
||||
|
||||
def search_by_content(self, content_to_search, r_pos=False, case_sensitive=True):
|
||||
|
|
Loading…
Reference in a new issue