def METHOD_NAME(self, task, config):
    logger.debug('Checking {} entries', len(task.accepted))
    # try to urlrewrite all accepted
    for entry in task.accepted:
        try:
            self.url_rewrite(task, entry)
        except UrlRewritingError as e:
            logger.warning(e.value)
            entry.fail()