Jump to content
UBot Underground

UBotDev

Fellow UBotter
  • Content Count

    1360
  • Joined

  • Last visited

  • Days Won

    65

Everything posted by UBotDev

  1. Nope, never had a solution for this frustrating problem, and it's been there forever. Similar happens in UBot Studio, when I'm developing; after some time I'm not able to type into any of the browser inputs...
  2. Bit.ly has an API, why wouldn't you use that? Here is a simple example (remember to add your login and API key instead of ***): define $BITLY SHORTEN URL(#DEF URL) { return($trim($read file("http://api.bitly.com/v3/shorten?login=***&apiKey=***&longUrl={$plugin function("SocketCommands.dll", "$url encode", #DEF URL)}&format=txt"))) }
  3. Miriam....Just test it on Amazon's EC2 instance and try to run the bot there (crashes happen regularly)...I am even getting browser crashes as soon as I open the bot (not even running yet). Also, I don't think low memory has something to do with it, the machine I used had 8GB total, and 1GB used, and the browser keept crashing...
  4. I've been running bots with thread counter for days and I haven't noticed anything like that. I also left the code above running for some time an nothing. Whatever you use you need to use define command to ensure that value you pass in doesn't changes when a new thread is about to start. Local dictionary being thread safe has nothing to do with this....
  5. As you can see in this video, the code I've posted above works fine, that's why I think there is nothing wrong with threading...I guess it may be your code/setup. Does the code above work for you or not? What version of UBot are you using? Maybe you should share the whole code, since this part seems to work ok....
  6. Then you are not experiencing that problem (I guess you didn't read that post...the problem is related to part when bot reaches the end of script but won't stop). You should still take that other suggestion into consideration... Yes, threads should drop to 0. I've stripped down your code a bit and threading itself works just fine (threads drop to 0 and alert is displayed), so I think you may have problems elsewhere. Here is the code: loop(99999999) { set(#ThreadCount, $plugin function("Threads Counter.dll", "threads counter", "reset"), "Global") set(#Loops, 101, "Global") s
  7. One know issue is that the script won't stop (although threads finished), so you need to put "stop" command at the end of the code. Also, FYI, you should pass variable #ListItem through a define command (the code you have inside thread should be in that command/function) to ensure it stays unchanged during the thread lifetime. Else that variable may change before it's used inside the thread, meaning that you would be passing wrong data in there....
  8. Yeah, as Dan said, it's hard to help you without seeing any code... I didn't have any problems till now, so I'm not sure what could be wrong.
  9. You're asking millions of questions but haven't compiled a single bot? Maybe you should give up with coding then and start writing instead (seems like you don't run out of ideas there)...
  10. I would rather go with "find regular expression" function which is safer, since replacing could return wrong data if the text you are replacing changes (for example you get 2 spaces between y and i and it breaks). Here is the code for regex: set(#DATE, $find regular expression("Today is 11/29/2014", "\\d\{1,2\}/\\d\{1,2\}/\\d\{4,4\}"), "Global")
  11. You would need it because the API (Linkedin) you are trying to access uses "Authorization Code" grant type, implementing so called 3-legged Oauth, where users first need to grant access which posts authorization code back to your side, which you can then use to exchange for an access token, which finally permits you to access data via API. So in short, if Linked doesn't support any other grant types (was checking but couldn't find one) you'll have to go through that process.
  12. The source you mention doesn't matter for scraping...UBot always scrapes whats actually loaded in the browser. I think the difference between those 2 is that GENERATED HTML is a result of "load html" command while "VIEW" is the HTML that is loaded with navigate, click and similar comamnds.
  13. Just add (?i) in the regex, and it will make matching case insensitive....
  14. Maybe try redirecting that image URL to PHP script and return image from there.
  15. You could use something like that yes. Else Google knows everything...http://lmgtfy.com/?q=uk+us+phone+regex
  16. 20 is not a problem, but it depends on computer you are running it. For one bot I can run 20 here, but customer is getting Browser crashes at 10 already.
  17. Based on the info from youtube I think his name is Radu and he even shared his email in video description, so maybe try there.
  18. In case you didn't, you should request a feature by opening a ticket on their tracker since they are looking for things like that there..., Also, you can also comment on existing tickets to support the OP.
  19. UBot email command only supports 1 file per email. So I guess your only way is to ZIP the files in 1 file and send them.
  20. You can always install your own proxy server and use that for testing. Here is one: http://www.youngzsoft.net/ccproxy/ Hope that helps.
  21. It's not really Chromiums fault, the problem is that the page should be opened in new tab, but since UBot doesn't support them it instead opens that page in an iframe. Because the page you are trying to load doesn't allow iframes, you get a blank iframe. SOLUTION: http://www.ubotstudio.com/forum/index.php?/topic/14275-popup-dont-work/
  22. As far as I know, Awesomium is just a wrapper from Chromium browser...
  23. Both UBot v4 and UBot v5 use browser named Chromium. v3 for example used IE. And no, there is no way to choose browser, you can only change UserAgent.
  24. Scrape innertext, trim it and then compare if equal to "" (empty string).
×
×
  • Create New...