Can Scrapebox 2.0 get prices from URL lists?

Thu Thao

Newbie
Joined
Jun 4, 2017
Messages
16
Reaction score
3
I just started using Scrapebox for crawling data from website. I want to extract the price from the product URL. Is there a method on Scrapebox that can help me do that? I used Regex to try to implement it but failed. I thank all of your contributions on my problem.
 
Tell me you're no @Rongreu

If not, Have a look at this thread: https://www.blackhatworld.com/seo/scrapebox-2-0-get-image-url.944909/
 
i know images can be scrapped with scrapbox but not prices.
i wish i could help.
 
An interesting duplication. I'm reading your posts. Stackoverflow has not given me the solution yet
 
An interesting duplication. I'm reading your posts. Stackoverflow has not given me the solution yet

BHW is the only community where ScrapeBox is discussed a lot.

Please paste the product URL from where you want to scrape the pricing from and I'll see If I can Spoon Feed you the guide.

what is scrape box 2.0 ?

@W9go ScrapeBox 2.0 is completely rebuilt and comes with a lot more features than the first version like Unicode support, 64-bit and built with up to date compiler.


Code:
http://www.scrapebox.com/v2-beta
 
I just started using Scrapebox for crawling data from website. I want to extract the price from the product URL. Is there a method on Scrapebox that can help me do that? I used Regex to try to implement it but failed. I thank all of your contributions on my problem.
You can use the custom data grabber to get the price. Here is a video

 
You can use the custom data grabber to get the price. Here is a video

Hello @loopline. Here is my configuration to get the "price" from the URL. I tried some Regex code for eg "6pm.com/p/lucky-brand-april-crossbody-black/product/8798523/color/3?zlfid=192&ref=pd_detail_2_sims_sdp" but it does not work. Hope you can help me one more time.

[Settings]
MenuEntry = Grab price from harvested URL list
Folder = Grabbed Price
GuiCaption = Grab price check
ColumnHeader = # Items Found
TrayBalloon = Done checking URL Price
Connections = 1
Timeout = 30
SaveUrls = 1

[Definition1]
Name = Grab price
Example = 2000
RegEx = \\ $ \\ d + [.]? \\ d *
MustContain =
MustNotContain =
Enabled = 1
 
Cool! Thanks for sharing this video @loopline. I didn't realize that this can be done (customize). lol

you welcome. :)

Hello @loopline. Here is my configuration to get the "price" from the URL. I tried some Regex code for eg "6pm.com/p/lucky-brand-april-crossbody-black/product/8798523/color/3?zlfid=192&ref=pd_detail_2_sims_sdp" but it does not work. Hope you can help me one more time.

[Settings]
MenuEntry = Grab price from harvested URL list
Folder = Grabbed Price
GuiCaption = Grab price check
ColumnHeader = # Items Found
TrayBalloon = Done checking URL Price
Connections = 1
Timeout = 30
SaveUrls = 1

[Definition1]
Name = Grab price
Example = 2000
RegEx = \\ $ \\ d + [.]? \\ d *
MustContain =
MustNotContain =
Enabled = 1

This is the line with the price

<div id="price" class="price" itemprop="price">$91.14</div>

so just do
before_after=<div id="price" class="price" itemprop="price">|</div>

meaning just do the before/after in place of the regex

I just tried that and it worked for me to get the $91.14
 
you welcome. :)



This is the line with the price

<div id="price" class="price" itemprop="price">$91.14</div>

so just do
before_after=<div id="price" class="price" itemprop="price">|</div>

meaning just do the before/after in place of the regex

I just tried that and it worked for me to get the $91.14
Hello @loopline. I watched your "Scrapebox Phone Number Scraper" video and made a Regex for the price. My Regex: (\ $ \ s? [0-9,] + (\. [0-9] {2})?). Actually it worked. However, the result is all the price on the Product URL, which is not good and makes it difficult to remove unnecessary prices. I will try your method to find better results. Will your method run automatically with a URL list? Thanks @loopline so much
 
Hello @loopline. I watched your "Scrapebox Phone Number Scraper" video and made a Regex for the price. My Regex: (\ $ \ s? [0-9,] + (\. [0-9] {2})?). Actually it worked. However, the result is all the price on the Product URL, which is not good and makes it difficult to remove unnecessary prices. I will try your method to find better results. Will your method run automatically with a URL list? Thanks @loopline so much
My method gave me back only the 1 price of the product, because its a match on the exact html, not a regex to match prices.
 
you welcome. :)



This is the line with the price

<div id="price" class="price" itemprop="price">$91.14</div>

so just do
before_after=<div id="price" class="price" itemprop="price">|</div>

meaning just do the before/after in place of the regex

I just tried that and it worked for me to get the $91.14
Hello @loopline. Can I use it to get the "Description" of the product? Please help me again. Thanks @loopline very much
 
it will be a mess, but sure.

The before is
<div class="description" itemprop="description">

and the after is
</div>

You can look at the html and see where I got those and go from there. IT will be the entire description all on 1 line.
 
it will be a mess, but sure.

The before is
<div class="description" itemprop="description">

and the after is
</div>

You can look at the html and see where I got those and go from there. IT will be the entire description all on 1 line.
Thank you @loopline
 
Sorry if that annoys you. I have problems with my old gmail and I am canceling it.
You can only have one account here.

Pick the one you want to keep so I can ban the other.

If you fail to respond, I'll pick one myself...
 
Back
Top