Jump to content
UBot Underground

Plz Help Me Scraping Content From A Site


Recommended Posts

I am looking to scrape content from a website, but I could not get where so looking for your help..plz help me get thing done..

 

plz see image

http://prntscr.com/koi4gy

 

https://www.yes-lease.co.uk/personal-lease-cars/kia/stonic-4x4/stonic-suv-14-98-2-5dr-manual-start-stop-361594024

 

I want to scrape blue highlighted content all in single cell, how can this be done..

 

Thanks

Link to post
Share on other sites

you need to scrape html code of div element with class=pricebox  it has all needed data and prices - if you do not need prices you will need to remove from html div with class = pricediv - this will give you html with needed data only.

After that you can strip html tags or get inner text of stated html and save it to single cell.

Link to post
Share on other sites

use the free xpath plugin and use  the following xpath:

 

//div[@class=pricebox]/div[2]/following-sibling::div

 

This also works - but doesn't extract production status:

//span[@data-csstooltip]//parent::div

Link to post
Share on other sites

Pash you are great..Thanks I learn new thing element parent..Thanks again Friend..and would like to than saneev and bestmarcos for looking into this matter, 

Pash I wish for good health for you..Get well soon.

Link to post
Share on other sites

Pash you are great..Thanks I learn new thing element parent..Thanks again Friend..and would like to than saneev and bestmarcos for looking into this matter, 

Pash I wish for good health for you..Get well soon.

Great if Pash solved your problem! ;)

Just like his answer !

ahfVeYN.png

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...