This commit is contained in:
dgtlmoon
2026-03-26 15:41:10 +01:00
parent d0126b5950
commit bc64f0de9b
2 changed files with 7 additions and 6 deletions
+5 -5
View File
@@ -272,13 +272,11 @@ class ChangeDetectionStore(DatastoreUpdatesMixin, FileSavingDataStore):
if include_default_watches:
self.add_watch(
url='https://news.ycombinator.com/',
tag='Tech news',
extras={'browser_profile': 'direct_http_requests'}
tag='Tech news'
)
self.add_watch(
url='https://changedetection.io/CHANGELOG.txt',
tag='changedetection.io',
extras={'browser_profile': 'direct_http_requests'}
tag='changedetection.io'
)
# Create changedetection.json immediately
@@ -348,6 +346,8 @@ class ChangeDetectionStore(DatastoreUpdatesMixin, FileSavingDataStore):
``settings.application.browser_profiles`` under their machine names.
If no system-default browser profile is already stored, also sets
``settings.application.browser_profile`` to the new profile.
NOTE: Most of this is largely for historical and testing purposes.
"""
from changedetectionio.model import browser_profile as bp
from changedetectionio.strtobool import strtobool
@@ -364,7 +364,7 @@ class ChangeDetectionStore(DatastoreUpdatesMixin, FileSavingDataStore):
profile = bp.BrowserProfile(
name=builtin.name,
fetch_backend=builtin.fetch_backend,
browser_connection_url=playwright_url,
browser_connection_url=playwright_url.strip('"'),
service_workers=service_workers,
extra_delay=extra_delay,
is_builtin=True,
@@ -108,7 +108,8 @@ def test_low_level_errors_clear_correctly(client, live_server, measure_memory_us
b"nodename nor servname provided" in res.data or
b"Temporary failure in name resolution" in res.data or
b"Failed to establish a new connection" in res.data or
b"Connection error occurred" in res.data
b"Connection error occurred" in res.data or
b"net::ERR_NAME_NOT_RESOLVED" in res.data
)
assert found_name_resolution_error