alabamafreddie 1 Posted September 19, 2014 Report Share Posted September 19, 2014 Is there a way to import a HUGE list of user agents into Ubot ? Quote Link to post Share on other sites
pftg4 102 Posted September 21, 2014 Report Share Posted September 21, 2014 sure load them into a list Quote Link to post Share on other sites
alabamafreddie 1 Posted September 21, 2014 Author Report Share Posted September 21, 2014 Can you be more specific ? Quote Link to post Share on other sites
a2mateit 395 Posted September 21, 2014 Report Share Posted September 21, 2014 Add list to list from text (useragents) Then use random list item for user agent. Quote Link to post Share on other sites
Chris M 55 Posted September 29, 2014 Report Share Posted September 29, 2014 I had this issue a while back and LazyBotter helped me with this code: download file("http://techpatterns.com/downloads/firefox/useragentswitcher.xml", "{$special folder("Desktop")}\\useragentswitcher.xml") wait(1) clear list(%Useragents) add list to list(%Useragents, $list from text($find regular expression($read file("{$special folder("Desktop")}\\useragentswitcher.xml"), "(?<=useragent=\").*?(?=\")"), " "), "Delete", "Global") save to file("{$special folder("Desktop")}\\Useragents.txt", %Useragents) 2 Quote Link to post Share on other sites
arunner26 51 Posted September 29, 2014 Report Share Posted September 29, 2014 cmmorris1,Thanks for the website and code to download the agents. That's good to know. 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted September 29, 2014 Report Share Posted September 29, 2014 I used this before Kev123's Large Data plugin set(#uesr_agent, $random list item($list from file("{$special folder("Desktop")}\\User-Agents.txt")), "Global") that way you take up less memory in Ubot by not adding to a list. the reason I am using large data now and to avoid threading conflicts when accessing file used with proxies toothanks cmmorris1HTHelps,TC 1 Quote Link to post Share on other sites
Vernon 9 Posted October 3, 2014 Report Share Posted October 3, 2014 cmmorris1 Cmmorris1 Thanx buddy for the site and code. appreciated 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.