Question

CSS Selector for HTML Extractor

  • 12 November 2023
  • 2 replies
  • 2 views

Badge +11

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

Userlevel 4
Badge +27

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

image

Userlevel 1
Badge +16

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

 

Reply