code: def __call__(self, selectolax_tree, page_url):
      tree = Tree(selectolax_tree.root, page_url=page_url)
      list_nodes = tree.traverse()
  
      if self.only_text_image_nodes:
          list_nodes = self._only_text_image_nodes(list_nodes)
      if self.format_texts:
          list_nodes = self._format_texts(list_nodes)
      if self.merge_consecutive_text_nodes:
          list_nodes = self._merge_consecutive_text_nodes(list_nodes)
  
      return list_nodes
  
file_path: hf-obelics/obelics/processors/pre_extraction_simplificator.py
imports: import re
  from obelics.utils import MEDIA_CONTAIN_INTERESTING_ATTRIBUTES_SET, TAG_TO_SEP, simplify_media_node
label_desc: Use image node_id 2 for calling the PreExtractionSimplificator obj's underlying member method code with example usage: obj.__call__(selectolax_tree, page_url) and returns: list_nodes