lookyloo/lookyloo.py
def trigger_modules(self, capture_uuid: str, /, force: bool=False, auto_trigger: bool=False) -> None:
        '''Launch the 3rd party modules on a capture.
        It uses the cached result *if* the module was triggered the same day.
        The `force` flag re-triggers the module regardless of the cache.'''
        try:
            ct = self.get_crawled_tree(capture_uuid)
        except LookylooException:
            self.logger.warning(f'Unable to trigger the modules unless the tree ({capture_uuid}) is cached.')
            return

        self.pi.capture_default_trigger(ct, force=force, auto_trigger=auto_trigger)
        self.vt.capture_default_trigger(ct, force=force, auto_trigger=auto_trigger)
        self.uwhois.capture_default_trigger(ct, force=force, auto_trigger=auto_trigger)
Launch the 3rd party modules on a capture.
        It uses the cached result *if* the module was triggered the same day.
        The `force` flag re-triggers the module regardless of the cache.
Launch the 3rd party modules on a capture.
It uses the cached result *if* the module was triggered the same day.
The `force` flag re-triggers the module regardless of the cache.
Launch the 3rd party modules on a capture . It uses the cached result * if * the module was triggered the same day . The ` force ` flag re - triggers the module regardless of the cache .
def trigger_modules(self, capture_uuid: str, /, force: bool=False, auto_trigger: bool=False) -> None:
        try:
            ct = self.get_crawled_tree(capture_uuid)
        except LookylooException:
            self.logger.warning(f'Unable to trigger the modules unless the tree ({capture_uuid}) is cached.')
            return
        self.pi.capture_default_trigger(ct, force=force, auto_trigger=auto_trigger)
        self.vt.capture_default_trigger(ct, force=force, auto_trigger=auto_trigger)
        self.uwhois.capture_default_trigger(ct, force=force, auto_trigger=auto_trigger)
def trigger_modules ( self , capture_uuid : str , / , force : bool = False , auto_trigger : bool = False ) -> None : try : ct = self . get_crawled_tree ( capture_uuid ) except LookylooException : self . logger . warning ( f'Unable to trigger the modules unless the tree ({capture_uuid}) is cached.' ) return self . pi . capture_default_trigger ( ct , force = force , auto_trigger = auto_trigger ) self . vt . capture_default_trigger ( ct , force = force , auto_trigger = auto_trigger ) self . uwhois . capture_default_trigger ( ct , force = force , auto_trigger = auto_trigger )
Launch the 3rd party modules on a capture.
Launch the 3rd party modules on a capture .
'''Launch the 3rd party modules on a capture.
        It uses the cached result *if* the module was triggered the same day.
        The `force` flag re-triggers the module regardless of the cache.'''
self
capture_uuid
str
force
bool
auto_trigger
bool