Jelajahi Sumber

re-enable readability and singlefile by default now that its less noisy

Nick Sweeting 5 tahun lalu
induk
melakukan
b0c0a676f8
2 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 2 2
      archivebox/config/__init__.py
  2. 1 0
      archivebox/extractors/__init__.py

+ 2 - 2
archivebox/config/__init__.py

@@ -108,8 +108,8 @@ CONFIG_DEFAULTS: Dict[str, ConfigDefaultDict] = {
     'DEPENDENCY_CONFIG': {
     'DEPENDENCY_CONFIG': {
         'USE_CURL':                 {'type': bool,  'default': True},
         'USE_CURL':                 {'type': bool,  'default': True},
         'USE_WGET':                 {'type': bool,  'default': True},
         'USE_WGET':                 {'type': bool,  'default': True},
-        'USE_SINGLEFILE':           {'type': bool,  'default': False},
-        'USE_READABILITY':          {'type': bool,  'default': False},
+        'USE_SINGLEFILE':           {'type': bool,  'default': True},
+        'USE_READABILITY':          {'type': bool,  'default': True},
         'USE_GIT':                  {'type': bool,  'default': True},
         'USE_GIT':                  {'type': bool,  'default': True},
         'USE_CHROME':               {'type': bool,  'default': True},
         'USE_CHROME':               {'type': bool,  'default': True},
         'USE_YOUTUBEDL':            {'type': bool,  'default': True},
         'USE_YOUTUBEDL':            {'type': bool,  'default': True},

+ 1 - 0
archivebox/extractors/__init__.py

@@ -12,6 +12,7 @@ from ..index import (
     patch_main_index,
     patch_main_index,
 )
 )
 from ..util import enforce_types
 from ..util import enforce_types
+from ..config import ANSI
 from ..logging_util import (
 from ..logging_util import (
     log_archiving_started,
     log_archiving_started,
     log_archiving_paused,
     log_archiving_paused,