Jump to content
UBot Underground

How Do I Check For A Link On A Page


Recommended Posts

I want to visit a page, check my link is still active, and then return a positive.

 

i tried $search but it doesn't return, i checked my urls correct and everything, 

 

is there any way to do this?

 

cheers

Link to post
Share on other sites

One way is to check the source code via $document text: http://wiki.ubotstudio.com/wiki/Document_Text

 

Another is to use scrape attribute and scrape the "a" tag for something that contains your domain, an example:

set(#link,$scrape attribute(<(tagname="a" AND href=w"*ubotstudio.com*")>,"href"),"Global")

Note that it will grab all the links which contain that domain so if you want to check multiple put them into a list.

  • Like 1
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...