Romeo 13 Posted October 16, 2018 Report Share Posted October 16, 2018 Hello There, I am New to Ubot and I will be really appreciated if someone help's me with the url thing, I have more than 15k urls and all the url's are redirected and I want to get the final url's in the fastest way possible, example: redirect.url.com >> further.redirect.com >> "final.url.com" Please HelpThanks in Advance Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 16, 2018 Report Share Posted October 16, 2018 Hi,Here is a simple solution navigate("http://tinyurl.com/5b2su2","Wait") wait for browser event("Everything Loaded","") comment("notice new url") alert($url) Of course you need all the rest of the code.load urls from file into a listloop the list totaladd current url, final url to another listsave to file your listRegards,CD 2 Quote Link to post Share on other sites
Romeo 13 Posted October 16, 2018 Author Report Share Posted October 16, 2018 Hello Code Docta (Nick C.), I really appreciate your help thank you, is there any other way to do it in socket mode or any other faster way, to make things faster I have more than 15k urls and it took lot of time if I open and wait to load every url in the browser. thanks in advance Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 16, 2018 Report Share Posted October 16, 2018 Yes,You can do in multi threading.search googlesite:ubotstudio.com multithreading There are many ways. PythonHTTP post plugin Hire someone with the knowledge to make it for you.No one will make your bot for you for free, as far as i know.Regards,CD Quote Link to post Share on other sites
Romeo 13 Posted October 16, 2018 Author Report Share Posted October 16, 2018 Thank you so much for the help codedocta you were being so helpful 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 16, 2018 Report Share Posted October 16, 2018 You are welcome Glad I can help.This plugin is free and has $get last urlhttp://network.ubotstudio.com/forum/index.php/topic/20002-free-heopas-custom-plugin-thread-lock-sqlite-thread-variables-email-ini-clipboard/ Just loop through that for a day Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 16, 2018 Report Share Posted October 16, 2018 set(#get,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "http://tinyurl.com/5b2su2", "", "", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0", "", 20),"Global") set(#last url,$plugin function("HeopasCustom.dll", "$Heopas HTTP Last URL"),"Global") alert(#last url) There Regards,CD Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 17, 2018 Report Share Posted October 17, 2018 comment("remove this it is just for demo save to file") save to file("{$special folder("Desktop")}\\urls.txt","http://tinyurl.com/5b2su2") clear list(%urls) add list to list(%urls,$list from file("{$special folder("Desktop")}\\urls.txt"),"Delete","Global") clear list(%final urls) loop($list total(%urls)) { set(#NLI,$next list item(%urls),"Global") set(#get,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "http://tinyurl.com/5b2su2", "", "", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0", "", 20),"Global") set(#last url,$plugin function("HeopasCustom.dll", "$Heopas HTTP Last URL"),"Global") add item to list(%final urls,#last url,"Don\'t Delete","Global") } ui stat monitor("Total URLss: {$list total(%urls)}","<br>checked: {$list total(%final urls)}") It would look something like this. Regards,CDget final url.ubot 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.