diff --git a/archivebox/config.py b/archivebox/config.py index 55a424dd..62794caf 100644 --- a/archivebox/config.py +++ b/archivebox/config.py @@ -173,9 +173,9 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = { 'CURL_BINARY': {'type': str, 'default': 'curl'}, 'GIT_BINARY': {'type': str, 'default': 'git'}, 'WGET_BINARY': {'type': str, 'default': 'wget'}, - 'SINGLEFILE_BINARY': {'type': str, 'default': 'single-file'}, - 'READABILITY_BINARY': {'type': str, 'default': 'readability-extractor'}, - 'MERCURY_BINARY': {'type': str, 'default': 'mercury-parser'}, + 'SINGLEFILE_BINARY': {'type': str, 'default': lambda c: bin_path('single-file')}, + 'READABILITY_BINARY': {'type': str, 'default': lambda c: bin_path('readability-extractor')}, + 'MERCURY_BINARY': {'type': str, 'default': lambda c: bin_path('mercury-parser')}, 'YOUTUBEDL_BINARY': {'type': str, 'default': 'youtube-dl'}, 'NODE_BINARY': {'type': str, 'default': 'node'}, 'RIPGREP_BINARY': {'type': str, 'default': 'rg'},