Selecting text within a SPAN tag?

Questions and answers about anything related to Helium Scraper
Post Reply
gibbon666
Posts: 6
Joined: Sat Jun 14, 2014 7:59 am

Selecting text within a SPAN tag?

Post by gibbon666 » Sat Jun 14, 2014 8:09 am

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.

Post Reply