Question

Help my HTML Extractor Stopped Working

  • 1 April 2021
  • 1 reply
  • 3 views

Capture2CaptureI have a workflow last run about 2 years ago that uses several html extractors to get information form various parts of a website. I went to run it again without changing anything and got the following error `fme_rejection_message' has value `PowerPlants_HTMLExtractor: <class 'soupsieve.util.SelectorSyntaxError'>: Malformed attribute selector at position 0

line 1:

[id=Height_of_the_Dam_(m)_nbr_rng1]

^'

I have other CSS selectors configured the same way that are still working. Any ideas

 

 


1 reply

Userlevel 3
Badge +17

Hi @Andrew Baumgartner​ 

Apologies for the late reply. I suspect the error you are seeing is caused by the parentheses in the CSS Selector parameter.

 

Are you able to try escaping both open and close parentheses in CSS selector with a backslash? For example, try:

[id=Height_of_the_Dam_\\(m\\)_nbr_rng1]

Reply