From 7d3767b8829aa36d00fdc61c75f3fce5a104620e Mon Sep 17 00:00:00 2001 From: Cristian Date: Thu, 24 Sep 2020 11:24:34 -0500 Subject: [PATCH] fix: oneshot command not running extractors --- archivebox/extractors/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/extractors/__init__.py b/archivebox/extractors/__init__.py index a9429d42..53a77941 100644 --- a/archivebox/extractors/__init__.py +++ b/archivebox/extractors/__init__.py @@ -58,7 +58,7 @@ def get_default_archive_methods(): def ignore_methods(to_ignore: List[str]): ARCHIVE_METHODS = get_default_archive_methods() methods = filter(lambda x: x[0] not in to_ignore, ARCHIVE_METHODS) - methods = map(lambda x: x[1], methods) + methods = map(lambda x: x[0], methods) return list(methods) @enforce_types