Chelsea 1 Posted May 8, 2014 Report Share Posted May 8, 2014 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? Quote Link to post Share on other sites
Bot-Factory 602 Posted May 8, 2014 Report Share Posted May 8, 2014 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 Quote Link to post Share on other sites
Chelsea 1 Posted May 9, 2014 Author Report Share Posted May 9, 2014 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! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.