From fde7b3fd97b908183f913a0495b17dfbb1b05cd6 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 25 Nov 2022 09:25:05 +0100 Subject: [PATCH] Remove dupe xpath finder prep code --- changedetectionio/content_fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/content_fetcher.py b/changedetectionio/content_fetcher.py index 18d40ad2..0d956049 100644 --- a/changedetectionio/content_fetcher.py +++ b/changedetectionio/content_fetcher.py @@ -97,7 +97,7 @@ class Fetcher(): from pkg_resources import resource_string # The code that scrapes elements and makes a list of elements/size/position to click on in the VisualSelector self.xpath_element_js = resource_string(__name__, "res/xpath_element_scraper.js").decode('utf-8') - self.xpath_element_js = self.xpath_element_js.replace('%ELEMENTS%', 'div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4, header, footer, section, article, aside, details, main, nav, section') + @abstractmethod def get_error(self):