Jump to content
UBot Underground

Recommended Posts

What is the difference between these 3 options and when do you use them? 

 

Problem I'm having: need to scrape an attribute from a page for multiple accounts, but with the same script, how do you do this? If there's a log in error, need to scrape the domain name that is having the error and add it to a list to send to the user so they know there's been a log in error for that domain.

 

When I do something simple like $scrape attribute(href"http://www.domain.com") the href area populates with the specific domain in the script that has the log in error. So, when another domain using the same script has an error, that adds a blank item to the list (because it's looking for an exact match to that domain in the script--which isn't there). It's nice to know there are errors, but not knowing which domains of hundreds have errors is not awesome. Kind of defeats the purpose of the bot.

 

Can you move the wildcard function around in the code so it reads something like $scrape attribute(href="w") or something so it grabs whatever is in place of the w? Is that how it even works? Do I need to figure out a regular expression for this? Any suggestions as to how to do that?

Link to post
Share on other sites

Hello.

 

You are not moving the W around. You are using a * as your wildcard character:

set(#aa$scrape attribute(<href=w"http://www.ubotstudio.com/*">"href"), "Global")

 

There are many great tutorials available who cover that stuff in detail:

 

I highly recommend to look through all the tutorial videos:

http://www.ubotstudio.com/tutorials

 

That will get you started very quickly.

 

Dan

Link to post
Share on other sites

Oh, duh.

 

I've been through the tutorials, but it's a lot to take in all at once. Have to jump in and learn through trial and error eventually. More error than anything at the moment, but that'll change.

 

Thanks, Dan!

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