gavner25 1 Posted October 21, 2019 Report Share Posted October 21, 2019 I have a bot that works fine in ubot before i compile it. However, when i compile it, the bot does not scraping the emails from each page. It just loops through each page with no results. See my code here. What could be the issue? Should i try another version of Ubot? I am use 5.9.37 set(#website,"behance.net","Global")clear list(%behanceurls)add list to list(%behanceurls,$list from file("C:\\Users\\gavner\\Dropbox\\Ubot\\scraping\\behance url list found from 80000.txt"),"Delete","Global")plugin command("ExBrowser.dll", "ExBrowser Launcher", "Firefox", "", "")wait(2)loop($list total(%behanceurls)) { plugin command("ExBrowser.dll", "ExBrowser Navigate", $list item(%behanceurls,1)) wait(1) if($contains($document text,"@")) { then { clear list(%emailforcontact) add list to list(%emailforcontact,$find regular expression($plugin function("ExBrowser.dll", "$ExBrowser Document Text"),"([a-zA-Z0-9._-]+@([a-zA-Z0-9_-]+\\.)+[a-zA-Z0-9_-]+)"),"Delete","Global") wait(1) append to file("C:\\Users\\gavner\\Documents\\scraping\\{#website}.txt","{$new line}{%emailforcontact}","End") } else { } } remove from list(%behanceurls,1) wait(1) save to file("C:\\Users\\gavner\\Documents\\scraping\\behance url list found from 80000.txt",%behanceurls)} Quote Link to post Share on other sites
gavner25 1 Posted October 22, 2019 Author Report Share Posted October 22, 2019 Actually i just updated to 5.9.55 and it works!! 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.