From d602cf46467d7c877186772804edb5bae1bbb087 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 29 Dec 2021 23:28:34 +0100 Subject: [PATCH] Aligning call signatures #325 --- changedetectionio/content_fetcher.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/changedetectionio/content_fetcher.py b/changedetectionio/content_fetcher.py index b2a2d794..69713b2c 100644 --- a/changedetectionio/content_fetcher.py +++ b/changedetectionio/content_fetcher.py @@ -23,7 +23,7 @@ class Fetcher(): return self.error @abstractmethod - def run(self, url, timeout, request_headers): + def run(self, url, timeout, request_headers, request_body, request_method): # Should set self.error, self.status_code and self.content pass @@ -87,7 +87,9 @@ class html_webdriver(Fetcher): if proxy_args: self.proxy = SeleniumProxy(raw=proxy_args) - def run(self, url, timeout, request_headers): + def run(self, url, timeout, request_headers, request_body, request_method): + + # request_body, request_method unused for now, until some magic in the future happens. # check env for WEBDRIVER_URL driver = webdriver.Remote(