def list_actions(action, page): if action.startswith('cert_'): return Extracts.extract_certificates(page, action[5:]) if action == 'card': return Extracts.extract_cards(page) if action == 'other': return Extracts.extract_other_actions(page) if action == 'renewal': return Extracts.extract_pending_renewals(page) if action == 'query': return Query.show_found()
def extracts_cards(): return Extracts.extract_cards()