nicksavage 0 Posted October 3, 2013 Report Share Posted October 3, 2013 Hi I have a bot set up to do a while loop and scrape urls and save them into a txt file, but everytime it gets to 45kb the file goes 0kb. Here is my code: click(<class="user-list-link subs ud-popup">, "Left Click", "No")set(#Number, 0, "Global")loop while($exists($element offset(<class="btn">, 1))) { then { click($element offset(<class="btn">, 1), "Left Click", "No") add item to list(%urls, $scrape attribute(<outerhtml=w"<a href=\"https:*\" class=\"ud-popup message btn btn-small\">Message</a>">, "href"), "Delete", "Global") save to file("C:\\Users\\Administrator\\Desktop\\Kevin\\Kevins Bots\\Bots Testing\\scrapedusers.txt", %urls) wait(20) else { } }} Thank you Quote Link to post Share on other sites
nicksavage 0 Posted October 3, 2013 Author Report Share Posted October 3, 2013 Solved ! Sorry Quote Link to post Share on other sites
the_way 52 Posted October 3, 2013 Report Share Posted October 3, 2013 3 minutes to solve it, well done, 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.