-
Content Count
415 -
Joined
-
Last visited
-
Days Won
13
Posts posted by bestmacros
-
-
I have to set many manual exclusions as well however,
Can this be avoided completely by installing via the "Compile Installer" option?
Nope.
-
it looks like the main reason for that is build-in downloader which downloads support files (ubot browser).
-
you need to scrape html code of div element with class=pricebox it has all needed data and prices - if you do not need prices you will need to remove from html div with class = pricediv - this will give you html with needed data only.
After that you can strip html tags or get inner text of stated html and save it to single cell.
-
correct
-
if you have dev licence and you use "hide branding" option during compile you regular customer will not know that you are using ubot.
-
@pash. Thanks. But doesn’t that limit to the desktop, documents, system etc folders only?
Sent from my iPhone using Tapatalk Pro
Use "application folder" parameter - this will use the folder where ubot exe is located
- 1
-
-
(?<=widget-pane-link">).*(?=<)
will work in specific link, but you need to test it on different pages to see if it work everywhere
-
were updated to Chrome 67 (which happens to currently be the so-called 'stable' release), would that solve the problem?
If so, I wonder if an immediate work-around would be to use the 'set header' command to essentially spoof the user agent? For example:
I don't have chrome 67 update so I don't know if it solve the issue or not.
Set header or set user-agent will not help because it only mask the ubot original internal browser useragent but it does not add required functionality.
it is like putting Mercedes logo on Citroen car - it will not make the Citroen to work like Mercedes - it just make it look like Mercedes
-
What would be considered a more up-to-date tool that new users might be choosing to use instead of UBot? (I'm mainly asking to get a better understanding of what tool you're referring to.)
I'm not referring to any other tool, I just pointing to the fact that Ubot today is not so good, as it was before and this is one of the reasons it is "dying".
It is not good for the new users also, because you need to buy Ubot license (not cheap) and also buy several must have plugins (not cheap) and all this just to be able to automate some websites.
- 2
-
ubot nowadays is little bit outdated, so I guess not many new users are joining, also there are huge amount of answered questions already so no need to open new topics.
naked out-of-the box ubot is not usable on most popular websites because of internal browser.
http request automation using build-in commands is also problematic - you need external plugins for that.
based on the questions I see on forum - most of them are related to exbrowser, because this is almost a must plugin today especially if you need to automate the website, which is not supported by internal browser.
In my opinion the only thing, which may "resurrect" the ubot is the ability to do a mobile app automation which is also a must today for bot building.
- 1
-
Thanks for the replies, @bestmacros can you paste it in here and share the url?I cannot recreate it, at least it does not scrape something..What does it do, what is the goal of your code? To create a list and use the up vote from it?
yes - you scrape html and then just loop and upvote
-
https://drive.google.com/file/d/1a3moVC-mkr-srNhkuKmrz1rsYdV7y-bq/view?usp=sharing
can't post code for some reason so here is the link to code example image
-
-
when you load the website all its page source including text appear in document text parameter, so all you need is to strip html tags and you will get all the text which appear on the page (unless it has frames). you can also limit it by removing all text which is inside <body> tag .
but obviously you will get all functions data an other functionality code which you will need to remove also like data between <script> and so on.
I think that using text convertors is good idea otherwise you need to build parser to get innertext between specific tags which may contain text.
-
usually you can scrape the link from the button and just open it using navigate command
-
you need a plugin for that.
I think there is free plugin which has "Run Ubot Script" command
-
click(<jslog=w"*117690152142158738720*">,"Left Click","No")
where the number is the id of the group which can be scraped by code like this
add list to list(%groups,$scrape attribute(<(tagname="a" AND href=w"./communities/*")>,"href"),"Delete","Global")
-
you need to scrape members number and if it is more than 3000 when click on join or ask loin
-
in that case you have 2 options - automate it using http requests or use exbrowser plugin to control real external browser
-
it looks like you inserted user agent incorrectly - try to insert full string
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36
-
try to set useragent string from latest chrome/firefox browser, also switch ubot studio to work with chrome 49
-
you have 2 options: compare and verify number of scraped elements in the list and "fix" it if it is no what you expect or scrape element html and parse it and add data one by one to the list
-
you need 2 loops one inside another - one loop will take items from the list and in the other loop you will count the instance appearance.
you will need to remove the item from the list to prevent it from counting more than needed.
something like:
//loop 1
for i less than total list items
{
//loop 2
set j=i+1
set counter 1
for j less than total list items
{
if list item on position j is equal to list item on position i
{
increment counter
remove item from the list
decrement j
}
increment j
}
save counter for that item somewhere
increment i
}
- 1
Antivirus Issue Getting Worse?
in General Discussion
Posted
As mentioned by stever - ubot software is blocked by window antivirus/firewall so first you can contact Microsoft.
As far as I understand the main problem is build-in file loader which downloads internal browser files - maybe this issue can be resolved, since that is what trigger antivirus mostly .