|
|
@ -23,25 +23,26 @@ class model(dict):
|
|
|
|
'workers': int(getenv("DEFAULT_SETTINGS_REQUESTS_WORKERS", "10")), # Number of threads, lower is better for slow connections
|
|
|
|
'workers': int(getenv("DEFAULT_SETTINGS_REQUESTS_WORKERS", "10")), # Number of threads, lower is better for slow connections
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'application': {
|
|
|
|
'application': {
|
|
|
|
|
|
|
|
# Custom notification content
|
|
|
|
'api_access_token_enabled': True,
|
|
|
|
'api_access_token_enabled': True,
|
|
|
|
'password': False,
|
|
|
|
|
|
|
|
'base_url' : None,
|
|
|
|
'base_url' : None,
|
|
|
|
'extract_title_as_title': False,
|
|
|
|
|
|
|
|
'empty_pages_are_a_change': False,
|
|
|
|
'empty_pages_are_a_change': False,
|
|
|
|
|
|
|
|
'extract_title_as_title': False,
|
|
|
|
'fetch_backend': getenv("DEFAULT_FETCH_BACKEND", "html_requests"),
|
|
|
|
'fetch_backend': getenv("DEFAULT_FETCH_BACKEND", "html_requests"),
|
|
|
|
'filter_failure_notification_threshold_attempts': _FILTER_FAILURE_THRESHOLD_ATTEMPTS_DEFAULT,
|
|
|
|
'filter_failure_notification_threshold_attempts': _FILTER_FAILURE_THRESHOLD_ATTEMPTS_DEFAULT,
|
|
|
|
'global_ignore_text': [], # List of text to ignore when calculating the comparison checksum
|
|
|
|
'global_ignore_text': [], # List of text to ignore when calculating the comparison checksum
|
|
|
|
'global_subtractive_selectors': [],
|
|
|
|
'global_subtractive_selectors': [],
|
|
|
|
'ignore_whitespace': True,
|
|
|
|
'ignore_whitespace': True,
|
|
|
|
'render_anchor_tag_content': False,
|
|
|
|
|
|
|
|
'notification_urls': [], # Apprise URL list
|
|
|
|
|
|
|
|
# Custom notification content
|
|
|
|
|
|
|
|
'notification_title': default_notification_title,
|
|
|
|
|
|
|
|
'notification_body': default_notification_body,
|
|
|
|
'notification_body': default_notification_body,
|
|
|
|
'notification_format': default_notification_format,
|
|
|
|
'notification_format': default_notification_format,
|
|
|
|
|
|
|
|
'notification_title': default_notification_title,
|
|
|
|
|
|
|
|
'notification_urls': [], # Apprise URL list
|
|
|
|
|
|
|
|
'pager_size': 50,
|
|
|
|
|
|
|
|
'password': False,
|
|
|
|
|
|
|
|
'render_anchor_tag_content': False,
|
|
|
|
'schema_version' : 0,
|
|
|
|
'schema_version' : 0,
|
|
|
|
'shared_diff_access': False,
|
|
|
|
'shared_diff_access': False,
|
|
|
|
'webdriver_delay': None # Extra delay in seconds before extracting text
|
|
|
|
'webdriver_delay': None , # Extra delay in seconds before extracting text
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|