mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-27 16:20:05 +02:00
feat: Disable singlefile and readability by default
This commit is contained in:
@@ -107,8 +107,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': True},
|
'USE_SINGLEFILE': {'type': bool, 'default': False},
|
||||||
'USE_READABILITY': {'type': bool, 'default': True},
|
'USE_READABILITY': {'type': bool, 'default': False},
|
||||||
'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},
|
||||||
|
@@ -95,6 +95,7 @@ def archive_link(link: Link, overwrite: bool=False, methods: Optional[Iterable[s
|
|||||||
stats[result.status] += 1
|
stats[result.status] += 1
|
||||||
log_archive_method_finished(result)
|
log_archive_method_finished(result)
|
||||||
else:
|
else:
|
||||||
|
print(' > Skipping extractor: {}'.format(method_name))
|
||||||
stats['skipped'] += 1
|
stats['skipped'] += 1
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise Exception('Exception in archive_methods.save_{}(Link(url={}))'.format(
|
raise Exception('Exception in archive_methods.save_{}(Link(url={}))'.format(
|
||||||
|
Reference in New Issue
Block a user