Select one element or another

Questions & Answers about Helium Scraper 3
Post Reply
nickbacon
Posts: 1
Joined: Tue Feb 12, 2019 2:33 pm

Select one element or another

Post by nickbacon » Tue Feb 12, 2019 2:44 pm

The pages I'm scraping have either a small black price, or a big red price when it has a discount, so I need to select either the black price or the red price and extract to one column. If I use one selector for both it won't work, so now I'm extracting into two separate columns. How to extract either or into the same column?

webmaster
Site Admin
Posts: 521
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Re: Select one element or another

Post by webmaster » Wed Feb 13, 2019 3:01 pm

You can do this using the + operator. Check out its documentation for more details.
Juan Soldi
The Helium Scraper Team

Post Reply