Update changedetectionio/store.py
Co-authored-by: dgtlmoon <leigh@morresi.net>
This commit is contained in:
@@ -582,7 +582,7 @@ class ChangeDetectionStore:
|
|||||||
|
|
||||||
# We incorrectly used common header overrides that should only apply to Requests
|
# 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
|
# 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
|
# These were hard-coded in early versions
|
||||||
for v in ['User-Agent', 'Accept', 'Accept-Encoding', 'Accept-Language']:
|
for v in ['User-Agent', 'Accept', 'Accept-Encoding', 'Accept-Language']:
|
||||||
if self.data['settings']['headers'].get(v):
|
if self.data['settings']['headers'].get(v):
|
||||||
|
|||||||
Reference in New Issue
Block a user