mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-14 12:06:55 +00:00
Remove dupe xpath finder prep code
This commit is contained in:
@@ -97,7 +97,7 @@ class Fetcher():
|
|||||||
from pkg_resources import resource_string
|
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
|
# 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 = 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
|
@abstractmethod
|
||||||
def get_error(self):
|
def get_error(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user