Skip to content

Commit

Permalink
fix: [item blur screenshot] check domain tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Feb 6, 2025
1 parent b9faf8b commit affca88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/lib/objects/Items.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,17 +307,17 @@ def get_meta_crawler(self, tags=None):
"""
:type tags: list
"""
if tags is None:
tags = []
crawler = {}
if self.is_crawled():
crawler['domain'] = self.get_domain()
crawler['har'] = self.get_har()
crawler['screenshot'] = self.get_screenshot()
crawler['url'] = self.get_url()
if not tags:

domain_tags = self.get_obj_tags('domain', '', crawler['domain'], r_list=True)
if tags is None:
tags = self.get_tags()
crawler['is_tags_safe'] = self.is_tags_safe(tags)
crawler['is_tags_safe'] = self.is_tags_safe(tags) and self.is_tags_safe(domain_tags)
return crawler

def get_meta_lines(self, content=None):
Expand Down

0 comments on commit affca88

Please sign in to comment.