How can I scrape half of an element

Hi, I am trying to scrape my orders from amazon or target.
one of the elements that I want to scrape is the order date, but when I try scraping it it grabs the text that is connected to the date too.
For example it says “Ordered jul/31/2024” and I want to get just the “jul/31/2024” without the word “Ordered” but it’s one big element.
Is there a way to do it?
( I have another issue, which is with the hover action over “name of address” that it grabs the same info “address” for the entire list even though each order has a different address - I got it resolved by using deep scraping but it was a workaround and not the correct way to do it!)

Waiting to hear from you!
Satisfied user
Chaim

Hello Chaim,

If the additional text is consistently the same, you can use Regular Expressions (RegEx) to extract just the part you need. For instance, to pull only the date “jul/31/2024” from “Ordered jul/31/2024”, you can use the following RegEx pattern: (?<=Ordered).+. You can find more details on how to modify extracted text with RegEx in this support article.

Regarding your second question, would you be able to share some additional information? Any screenshots and links to related sources would help best.

I hope this helps resolve your issue!

Victoria

Customer Support - bardeen.ai
Knowledge Base https://support.bardeen.ai/hc/en-us
Explore | @bardeenai | Bardeen Community

I have a list of orders from Amazon that i want to scrape.
One of the pieces of data that i need is the shipping address, the problem is - that it’s covered by the address name and the address only shows up when I hover over the name.
But when I do that it grabs the same address for all orders!
Am I not using the hover action correctly?
What can be the problem?
I would like to mention that I did some work arounds, like “deep scraping” or “single page” which worked, but it’s not the best solution…
See this video:

p.s. Everything else works Perfect, i’ve scraped multiple pieces of data with out a single problem and added them seamlessly to a new record in Smartsuite.
Thank you so much for this Great tool!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.