Skip to main content
Question

CSS Selector for HTML Extractor


checcosisani
Contributor
Forum|alt.badge.img+12

Hi,

I treid to use css for this website

https://www.servizipubblicaamministrazione.it/servizi/saturnweb/Pubblicazioni.aspx?RicCro=1&CE=brnttcn1113

 

and I'm able to extract the value oggetto using

tr:nth-child(-n+10) > td:nth-child(3)> a> span but I can't extract the title part because if I use

tr:nth-child(-n+10) > td:nth-child(3)> a I receive back all the values

can you help me ?

 

image 

thx

 

Francesco

 

PS I read the documentation but I'm not able to find a solution

 

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+54
  • Celebrity
  • November 12, 2023

Seeing that that data is in a table, i'd look to use the HTML Table reader

image


takashi
Influencer
  • November 12, 2023

Hi @checcosisani​ ,

I agree that HTML Table reader is an easy way to extract each column value from the HTML table.

However, if you mean that "title part" is "DETERMINA AREA SERVIZI ALLA PERSONA N° 126 del 10/11/23" in this string for example, you will have to split this string into two parts - before and after "Oggetto:".

In this case, you can use AttributeSplitter (Delimiter or Format String: Oggetto:) to split this string into two parts.

 

DETERMINA AREA SERVIZI ALLA PERSONA N° 126 del 10/11/23Oggetto: APPROVAZIONE DOCUMENTAZIONE PER LO SVOLGIMENTO DEI MERCATINI DI NATALE 2023

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings