Scrape only the price
-
Hi all,
First of all i want to say thank you to the developer. I’ve been looking for a plugin like wp web scraper for two years.
Issue:
I want to scrape only the price from a website, i have the following code but i need to find out how to only display the price and not all the content in the selector=”#main” area.[wpws url="https://www.bol.com/nl/p/25/9200000051153125/?promo=music_202_AC-2voor40-LP_B7__1_9200000051153125" selector="#main_block"]
I’ve been looking at the CSS selectors page from W3School. But is there a way to narrow the shortcode down to only the div i want to display? In this case….the price.
How do i do that?
Thank you so much.
Cheers,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Scrape only the price’ is closed to new replies.