Page 1 of 1

Selecting text within a SPAN tag?

Posted: Sat Jun 14, 2014 8:09 am
by gibbon666
Hi all,

I'm new to using Helium Scraper and I'm sure this is a very simple question but...

How do I manually create a kind to grab the text within a certain SPAN tag? I can't get it to select the right text when I create one automatically in this circumstance.

ie. I want the text from a page that is contained within <SPAN itemprops="name">This is the text I want</SPAN>

I know I set the TagName to SPAN and that will select all span tags in the page, but how do I narrow it down to grab the text from just the one that has itemprops="name" ?

Many thanks for your help.