Update changedetectionio/store.py

Co-authored-by: dgtlmoon <leigh@morresi.net>
This commit is contained in:
Brandon Wees
2022-10-11 07:59:51 -04:00
committed by GitHub
parent a50d6db0b2
commit 4951721286

View File

@@ -582,7 +582,7 @@ class ChangeDetectionStore:
# We incorrectly used common header overrides that should only apply to Requests
# These are now handled in content_fetcher::html_requests and shouldnt be passed to Playwright/Selenium
def update_6(self):
def update_8(self):
# These were hard-coded in early versions
for v in ['User-Agent', 'Accept', 'Accept-Encoding', 'Accept-Language']:
if self.data['settings']['headers'].get(v):