fix: [show domains] fix down domains

This commit is contained in:
Terrtia 2023-06-02 13:30:59 +02:00
parent 3e9dd8a702
commit 62880e3a1c
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -311,6 +311,9 @@ class Domain(AbstractObject):
root_item = self.get_last_item_root() root_item = self.get_last_item_root()
if root_item: if root_item:
return self.get_crawled_items(root_item) return self.get_crawled_items(root_item)
else:
return []
# TODO FIXME # TODO FIXME
def get_all_urls(self, date=False, epoch=None): def get_all_urls(self, date=False, epoch=None):