Select one element or another
Select one element or another
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?
Re: Select one element or another
You can do this using the + operator. Check out its documentation for more details.
Juan Soldi
The Helium Scraper Team
The Helium Scraper Team