Jump to content
UBot Underground

Only page scrape and add to list IF...


Recommended Posts

I have html list tags on a page <li>. Inside are elements like images and span and other text. I would only like to scrape what is in that <li> if for example a certain image is in there then I would like to scrape what is between <span> tags like normal.

 

Any help?

Link to post
Share on other sites

HI - wouldnt choose by attribute - then scrape chosen attribute - inner text do the trick?

 

Would need to see the page to be sure

 

thnaks

Link to post
Share on other sites

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...