Hi guys, gonna repost this adding some info, I really need it to work, please help!
I am trying to scrape from here a price:

Arapiles I | Fully furnished luxury apartment in the centre of Madrid,...
Furnished and fully-equipped, Arapiles I is the best option for those that want to enjoy an unforgettable stay in the centre of Madrid, Chamberí
I have this selector:
"id":"price_1m","parentSelectors":["open"],"type":"SelectorText","selector":".sidebar-cost span[data-behavior='price-amount']","multiple":false,"regex":""}
pulling from this code line
span data-behavior="price-amount" style="display: none;" class="">€5,940 /span
However, I only want to scrape the price if style IS NOT "display: none;" and I can't figure it out how to add this condition.
New info: there is a different div ("title js-sidebar-error") that if it contains a specific text (lets say contains("X")) I dont want the price to be pulled. It would also work like this
So two ways of making it work, can you help? Thanks a lot!