Jump to content
UBot Underground

selective scrape attribute


Recommended Posts

I am using scrape attribute to pull URL's and the anchor text on a page that have an id of "thread_title_*" attribute.

 

For example:

 

add list to list(%threads, $scrape attribute(<id=w"thread_title_*">, "innertext"), "Delete", "Global")

add list to list(%urls, $scrape attribute(<id=w"thread_title_*">, "href"), "Delete", "Global")

 

How do I selectively scrape only the links that also have "style="font-weight:bold".

 

So I want to scrape the two attributes for all <a href> calls, but only for ones that have a bold style.

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