pash 504 Posted May 7, 2017 Author Report Share Posted May 7, 2017 3.7.0.0 (Beta) (Warning. Your old code can not be used with the new version of the plugin.)Rename commandscreate html >> html createplain text to html >> html from plain textreplace html data >> html replacescrape html data >> html scrapescrape html table >> html scrape tableAdd new commandhtml attributes: for add remove and more optionNoteyou can repace by "Ubot Studio ES" and use file "3.7.0.0 Replace Command.xlsx" Link to post Share on other sites
pash 504 Posted May 9, 2017 Author Report Share Posted May 9, 2017 3.8.0.0 (Beta) (Warning. Your old code can not be used with the new version of the plugin.)Remove duplicate commandremove html datalist find: use "list filter" instanceRemove option field$split: "Multi Split By NewLine"$list remove list: "Equals Ignore Case"$list filter: "Filter By" , "Equals/Contains Ignore Case"$list find index: "Find Option"$list remove: "Use Regex", "Equals Ignore Case"$list remove: "Use Regex", "Equals Ignore Case"table replace: "Use Regex"table search: "Option"$table search: "Option"Mega option fieldAll: "Use Regex" + "Regex Option" = "Option/Regex Option"Add option in option fieldlist remove list: "None Regex Ignore Case"list remove: "Equals", "Contains" , "Starts With", "Ends With"Add new sample file$split - 09-05-2017.ubot$list remove list - 09-05-2017$list filter - 09-05-2017.ubot$list find index - 09-05-2017.ubot$list remove - 09-05-2017.ubottable replace - 09-05-2017.ubottable search - 09-05-2017.ubot$html attributes.ubot Link to post Share on other sites
lolada 1 Posted May 12, 2017 Report Share Posted May 12, 2017 i have bough your plugin advanced data text file i tried your code: comment("2captcha reCAPTCHA")set(#_username,"","Global")set(#_password,"","Global")navigate("https://goo.gl","Wait")wait for browser event("Everything Loaded","")click(<class="recaptcha-checkbox-checkmark">,"Left Click","No")wait(5)set(#_bannerText,$trim($scrape attribute(<class="rc-imageselect-desc-wrapper">,"innertext")),"Global")set(#_captchaId,"","Global")set(#_saveImagePath,"{$special folder("Application")}\\CaptchaImage.jpg","Global")save element image(<class="rc-imageselect-target">,#_saveImagePath)plugin command("Advanced Image.dll", "image resize", #_saveImagePath, #_saveImagePath, "To Size", "300x300", 000000)clear list(%_rawCaptcha)add list to list(%_rawCaptcha,$plugin function("Advanced Captcha.dll", "$deathbycaptcha.com", #_username, #_password, #_saveImagePath, "", #_bannerText, "", "Recognize Type 4"),"Delete","Global")set(#_captchaId,$list item(%_rawCaptcha,0),"Global")remove from list(%_rawCaptcha,0)loop($list total(%_rawCaptcha)) { click($element offset(<class="rc-image-tile-target">,$plugin function("Advanced Data Text File.dll", "$random list items", %_rawCaptcha, "-1", 1, "True", "False")),"Left Click","No") wait($plugin function("Advanced Data Text File.dll", "$rand 2", 1.1, 2.9, "Decimal", "#"))}click(<id="recaptcha-verify-button">,"Left Click","No") and im getting the error on this 2 lines on advanced data text file:click($element offset(<class="rc-image-tile-target">,$plugin function("Advanced Data Text File.dll", "$random list items", %_rawCaptcha, "-1", 1, "True", "False")),"Left Click","No") wait($plugin function("Advanced Data Text File.dll", "$rand 2", 1.1, 2.9, "Decimal", "#")) Link to post Share on other sites
pash 504 Posted May 13, 2017 Author Report Share Posted May 13, 2017 i have bough your plugin advanced data text file i tried your code: comment("2captcha reCAPTCHA")set(#_username,"","Global")set(#_password,"","Global")navigate("https://goo.gl","Wait")wait for browser event("Everything Loaded","")click(<class="recaptcha-checkbox-checkmark">,"Left Click","No")wait(5)set(#_bannerText,$trim($scrape attribute(<class="rc-imageselect-desc-wrapper">,"innertext")),"Global")set(#_captchaId,"","Global")set(#_saveImagePath,"{$special folder("Application")}\\CaptchaImage.jpg","Global")save element image(<class="rc-imageselect-target">,#_saveImagePath)plugin command("Advanced Image.dll", "image resize", #_saveImagePath, #_saveImagePath, "To Size", "300x300", 000000)clear list(%_rawCaptcha)add list to list(%_rawCaptcha,$plugin function("Advanced Captcha.dll", "$deathbycaptcha.com", #_username, #_password, #_saveImagePath, "", #_bannerText, "", "Recognize Type 4"),"Delete","Global")set(#_captchaId,$list item(%_rawCaptcha,0),"Global")remove from list(%_rawCaptcha,0)loop($list total(%_rawCaptcha)) { click($element offset(<class="rc-image-tile-target">,$plugin function("Advanced Data Text File.dll", "$random list items", %_rawCaptcha, "-1", 1, "True", "False")),"Left Click","No") wait($plugin function("Advanced Data Text File.dll", "$rand 2", 1.1, 2.9, "Decimal", "#"))}click(<id="recaptcha-verify-button">,"Left Click","No") and im getting the error on this 2 lines on advanced data text file:click($element offset(<class="rc-image-tile-target">,$plugin function("Advanced Data Text File.dll", "$random list items", %_rawCaptcha, "-1", 1, "True", "False")),"Left Click","No") wait($plugin function("Advanced Data Text File.dll", "$rand 2", 1.1, 2.9, "Decimal", "#"))this old code. replace by. click($element offset(<class="rc-image-tile-target">,$plugin function("Advanced Data Text File.dll", "$list random", %_rawCaptcha, "-1", 1, "True", "False")),"Left Click","No") wait($plugin function("Advanced Data Text File.dll", "$random", 1.1, 2.9, "Decimal", "#")) Link to post Share on other sites
pash 504 Posted May 21, 2017 Author Report Share Posted May 21, 2017 3.8.2.0Add new commandtable cell set: set table cell value by column index or header$table cell get: get table cell value by column index or header Link to post Share on other sites
PRO 69 Posted May 29, 2017 Report Share Posted May 29, 2017 Hi Pash, for my work project I wanted to use your "keyword density" command from this plugin, but it seems that the calculation of the density has some bug. Please see my code and screenshot attached. on load("Bot Loaded") { set(#simple_words,"Hello Pash","Global") plugin command("Advanced Data Text File.dll", "keyword density", #simple_words, "", &result) set(#result_table,$plugin function("Advanced Data Text File.dll", "$table to html", &result, "", "border=\"1\"", "", "", "", "", "False"),"Global") } ui html panel("<p variable=\"#simple_words\" fillwith=\"innertext\"></p> <div type=text\" variable=\"#result_table\" fillwith=\"innerhtml\"></div>",600) I gave 2 words (Hello Pash) but the keyword density command calculates a value of 5% for each of the two words - normally it should be 50% each. If you run my example code or see image attachment, you see the bug. Because I need keyword density calculation for a serious work project, I would be very thankful if you could improve the "keyword density command" with a few extras. I would be ready to pay you some paypal tip for improvement. A very good example can be found here: http://tools.seobook.com/general/keyword-density/ (uncheck all boxes, go to plain text, type in words, set both minimums to 0, submit) This improvements would be great:Please find a fix for the calculationIf possible, please add functionality to also scan 2 word phrases and 3 word phrasesIf possible, please insert one additional option to set the minimum word length (so we can avoid listing of 1 character words like "a")You can send me a PM regarding PayPal tip ;-) It would be extremely helpful to me, if you could improve the keyword density command. Many thanks! Screenshot of bug: Link to post Share on other sites
pash 504 Posted May 29, 2017 Author Report Share Posted May 29, 2017 3.8.2.1keyword density: fix 1 Link to post Share on other sites
PRO 69 Posted May 29, 2017 Report Share Posted May 29, 2017 3.8.2.1keyword density: fix BOOM! You have fixed the calculation. Have tested it, works great now Wonderful and super fast - thanks a lot! Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 29, 2017 Report Share Posted May 29, 2017 Would be nice that if left blank that it takes all words from content and tally's the density for all in string. otherwise is strict to the phrase 1 or more words from content that it shows up (non case sensitive) Link to post Share on other sites
PRO 69 Posted May 30, 2017 Report Share Posted May 30, 2017 Additional option to check for 2 word phrases and 3 word phrases would make the keyword density command more powerful and useful. Example: http://tools.seobook...eyword-density/(uncheck all boxes, go to plain text, type in words, set both minimums to 0, submit) 1 Link to post Share on other sites
pash 504 Posted July 13, 2017 Author Report Share Posted July 13, 2017 3.8.3.0Add new commandis even: check number is even Link to post Share on other sites
pash 504 Posted July 16, 2017 Author Report Share Posted July 16, 2017 3.8.5.0Add new commandis file: check is fileis folder: check is folder Link to post Share on other sites
pash 504 Posted July 16, 2017 Author Report Share Posted July 16, 2017 3.8.6.0 (BETA)Update & fix long pathfile managerfolder managerget foldersis file existis folder emptyis folder exist Link to post Share on other sites
pash 504 Posted July 19, 2017 Author Report Share Posted July 19, 2017 3.9.1.1Update libraryAdd new commandsis null or empty: check string is null or emptyis null or white space: check string is null or white spaceFixhtml to plain text: fix multinodes error Link to post Share on other sites
pash 504 Posted July 20, 2017 Author Report Share Posted July 20, 2017 3.9.1.2html to plain text: Fix minor Link to post Share on other sites
pash 504 Posted August 1, 2017 Author Report Share Posted August 1, 2017 3.9.1.5rename folders: fixed "Include Sub Directory"save to file 2: add ability auto create folder Link to post Share on other sites
pash 504 Posted August 5, 2017 Author Report Share Posted August 5, 2017 3.9.1.6table from html: add the ability support table has no header. Link to post Share on other sites
hecolivares 1 Posted August 28, 2017 Report Share Posted August 28, 2017 Trying to create a list from a csv column. create table from file("C:\\Users\\********\\Desktop\\PVAs.csv",&pvaemails)add list to list($plugin function("TableCommands.dll", "$list from table", &pvaemails, "Column", 0),%EmailLIst,"Delete","Global") Seems simple enough but the en result is in the attachment. The intended list is empty and Ubot creates a unidentified list with the correct data. Please help. Link to post Share on other sites
pash 504 Posted August 28, 2017 Author Report Share Posted August 28, 2017 Trying to create a list from a csv column. create table from file("C:\\Users\\********\\Desktop\\PVAs.csv",&pvaemails)add list to list($plugin function("TableCommands.dll", "$list from table", &pvaemails, "Column", 0),%EmailLIst,"Delete","Global") Seems simple enough but the en result is in the attachment. The intended list is empty and Ubot creates a unidentified list with the correct data. Please help. "TableCommands.dll" is not my plugin. Link to post Share on other sites
hecolivares 1 Posted August 29, 2017 Report Share Posted August 29, 2017 "TableCommands.dll" is not my plugin.I purchased your plugin.... do you have anything I can use to complete my objective? Link to post Share on other sites
pash 504 Posted August 29, 2017 Author Report Share Posted August 29, 2017 I purchased your plugin.... do you have anything I can use to complete my objective?If my plugin (it name "Advanced Data Text File.dll"), you can see example the file. "$list from table 2.ubot" in folder "Example File" Link to post Share on other sites
hecolivares 1 Posted August 29, 2017 Report Share Posted August 29, 2017 If my plugin (it name "Advanced Data Text File.dll"), you can see example the file. "$list from table 2.ubot" in folder "Example File"That worked perfectly, Thank you Link to post Share on other sites
BeerNut 25 Posted October 1, 2017 Report Share Posted October 1, 2017 I am using advanced data text file 3.9.1.6 and I have found that when using "regex find" that the data is not tread safe. Data from one regex find is getting randomly mixed up with data from other regex finds between threads. When I stopped using your regex find all data went back to normal. Ive found the problem in uBot 4 and 5 and complied bots. Tested on Windows 10. Can you confirm the problem or look into it? I did a simple find and replace after updating the pulgin so my code all looks like this. I dont know if having the Index of 0 would cause problems or not that is just how it used to work. set(#phone,$plugin function("Advanced Data Text File.dll", "$regex find", #soup, "(?<=itemprop=\"telephone\">).*?(?=</span>)", "None", 0),"Local") Link to post Share on other sites
pash 504 Posted October 1, 2017 Author Report Share Posted October 1, 2017 I am using advanced data text file 3.9.1.6 and I have found that when using "regex find" that the data is not tread safe. Data from one regex find is getting randomly mixed up with data from other regex finds between threads. When I stopped using your regex find all data went back to normal. Ive found the problem in uBot 4 and 5 and complied bots. Tested on Windows 10. Can you confirm the problem or look into it? I did a simple find and replace after updating the pulgin so my code all looks like this. I dont know if having the Index of 0 would cause problems or not that is just how it used to work. set(#phone,$plugin function("Advanced Data Text File.dll", "$regex find", #soup, "(?<=itemprop=\"telephone\">).*?(?=</span>)", "None", 0),"Local") Try change to default ubot regex command ($find regular expression). Link to post Share on other sites
BeerNut 25 Posted October 1, 2017 Report Share Posted October 1, 2017 Default ubot find regular expression had no problems in the same script. I have had to change to Find First Regex from another plugin and it also runs with no problem now. The error only happened in the items where i was using your regex find. Data was going all over the place and being written together despite only using local variables and set table cells for data. Check out this csv file https://www.dropbox.com/s/tfgoc9akplufns3/homeAdvisor-Roofing-75219-20170930.csv?dl=0 Numbers from reviews are in names, phone numbers are in names as well. But this is impossible since threads only have local variables and write to set columns and row numbers specific to the thread. For example the column number is hard coded to the exact column header, row number is taken from a counter. There is no way for a phone number to be added to the name column like that. Also the original code with the regex find worked perfectly with only one thread. As soon as it was multi-threaded the data got all mixed up. In the above csv file name to rating was regex find and had its data moved around, the other columns were ubots find regular expression and had no errors. Link to post Share on other sites
Recommended Posts