diff --git a/changedetectionio/model/Watch.py b/changedetectionio/model/Watch.py index b7dfcd30..a965ae94 100644 --- a/changedetectionio/model/Watch.py +++ b/changedetectionio/model/Watch.py @@ -26,6 +26,7 @@ base_config = { 'extract_title_as_title': False, 'fetch_backend': 'system', # plaintext, playwright etc 'processor': 'text_json_diff', # could be restock_diff or others from .processors + 'fetch_time': 0.0, 'filter_failure_notification_send': strtobool(os.getenv('FILTER_FAILURE_NOTIFICATION_SEND_DEFAULT', 'True')), 'filter_text_added': True, 'filter_text_replaced': True, diff --git a/changedetectionio/store.py b/changedetectionio/store.py index bb3dad7b..df541af9 100644 --- a/changedetectionio/store.py +++ b/changedetectionio/store.py @@ -245,7 +245,7 @@ class ChangeDetectionStore: self.__data['watching'][uuid].update({ 'check_count': 0, - 'fetch_time': 0.0, + 'fetch_time' : 0.0, 'has_ldjson_price_data': None, 'last_checked': 0, 'last_error': False, diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index 3471e4bd..8abe08fe 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -49,6 +49,7 @@
  • Restock Detection
  • {% endif %}
  • Notifications
  • +
  • Stats
  • @@ -441,7 +442,35 @@ Unavailable") }} {% endif %} - +
    +
    + + + + + + + + + + + + + + + + + + + + +
    Check count{{ watch.check_count }}
    Consecutive filter failures{{ watch.consecutive_filter_failures }}
    History length{{ watch.history|length }}
    Last fetch time{{ watch.fetch_time }}s
    +
    +
    {{ render_button(form.save_button) }}