Hi all, I want to scrap a value in a table where the id changes but I don’t understand the regioning. Is there a wildcard I can use in select?
I want to catch a hdata but id c4b-xxxxx change every day i do not undestand how… it is a casual sequens of 5 number…bho!
In a scarp integration is possible to use something like these
select: "#h1-{{now().day}}-1 > td.col6 > #c4a-***** > span:nth-child(4)"
where ***** is a wildcard to cack all the combination of number after c4b
I hope to be clear
Thank you all
Rather than using an id selector (#c4a-*****), have you tried using a class selector (.hdata or span.hdata)?
I’m struggling with an integration! I haven’t tried it yet, but there are several “hdata” on the page…I’ll try
From your html snippet it looks like there’s only one “hdata” under that “col6”. Also your “span:nth-child(4)” looks like it won’t match anything because the c4a/hdata element has no children. Therefore I think the following should work:
#h1-{{now().day}}-1 > td.col6 > span.hdata

please one more help.
because it does not work
#h3-{{now().day}}-1 > td.col7 > span.descri.descri1
or
#h3-{{now().day}}-1 > td.col7 > span.descri descri1
is the argument of span different to hdata?
there is something i don’t know
thank you
I believe it’s like the first one, but there’s another “span” between, so you would need:
#h3-{{now().day}}-1 > td.col7 > span > span.descri.descri1
Yessssss! it work!!! thank you