Jump to content
UBot Underground

dmbfan

Fellow UBotter
  • Content Count

    82
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by dmbfan

  1. I am working on a project where a webpage loads that contains the name and other protected information of medical patients.

     

    I am trying to obscure some of the personal information so that it is not visible to the end user.

     

    What I have tried so far is adding a "wait for browser event" and selected "DOM Ready" then I use the change attribute command to change the innertext of all the sensitive elements to the word "Obscured"

     

    The process works, however there is a brief period of time  where the page loads and the patient name is still visible before the attribute is changed. I have also tried waiting for the specific element, but that also displays the sensitive information briefly.

     

    Is there a clever way to hide the entire browser view from the user while the bot is changing the attibutes?  and/or is the a better/quicker way to change attribute values so that the data does not appear?

     

     

     

     

  2. Hi, I see the same thing when I try to pull it down.  I have been playing with the video commands for a couple weeks now and have found that there are some uBot just can't grab at all for some reason.  I have also seen situations where it will grab the video but not the sound. I put a ticket in on the issue but the result of the ticket was that it was working on their side. 

     

    I just had to go out and grab another program to pull the video down from youtube. 

     

    Wish I had a better answer 

  3. I started playing with the video features in the Bot bank this week.  Specifically the Download youtube video command.

     

    I have been successful in downloading every video I have tried with the command, the issue is that some seem to include sound and video and others just video.

     

    This is a link to one that just pulls the video and not the sound:

     

    youtube.com/watch?v=D4deW5Okmr4

     

    For the output file path, I am simply saving it to my desktop with an .mp4 file extension.  I have tried a few other file extensions without success.

     

    Has anyone else experienced this and if so, were you able to get around it?

     

    Thanks in advance

  4. This worked for me:

     

    clear cookies
    set user agent("iPhone")
    navigate("https://www.reddit.com/login","Wait")
    wait for element(<username field>,"","Appear")
    type text(<username field>,$list item(%LoginNames,#LoopCounter),"Standard")
    wait for element(<password field>,"","Appear")
    type text(<password field>,$list item(%LoginPW,#LoopCounter),"Standard")
    wait for element(<class="SquareButton__content">,"","Appear")
    click(<class="SquareButton__content">,"Left Click","No")

    • Like 1
  5. I have run into this scenario in the past, I've found that If I navigate to another script tab (or add a script tab and then navigate to it)  and then return to the original script tab, it allows me to run the bot.  

     

    Typically when I get this warning there is a command open somewhere that needs to be closed and I assume there is the possibility of losing that piece that you were working on if it isn't closed. I only use the above for those rare occasions where, for whatever reason, uBot seems to think I have a command open for editing somewhere.

  6. Just wondering if anyone has received the attached error when starting a compiled bot:

     

    "There was an error verifying files

    The remote server returned an error: (401) Unauthorized

    If you are having trouble contact support."

     

    My client receives this when trying to start a bot I have installed on their windows 7 machines running .net 4.5 They are connected to the same wireless network I am on.  I never receive this error when starting the bot and they receive it every time and prevents them from using it.

     

    I coded and compiled the bot in version 5 dev

     

    Does anyone know what causes this and how to correct it?

     

    I tried submitting a ticket to support but can't get it to go through with the bot and source code attached

     

    Thanks in advance for any help.

     

     

    post-1886-0-62948100-1427905740_thumb.png

  7. I am trying to scrape the pins/locations from the following site to then navigate to each one or a specific one and collect the availability information for the location(s)

     

    http://www.bikesharetoronto.com/stations

     

    I haven't had any luck figuring out a way to scrape the information and have been at it a couple hours.  Before I spend many many more hours, I thought I would check to see if any of you think it is even possible.

     

    Thanks

  8. Are you using uBot 4 or 5?  Some things I noticed with uBot (although none of this is based on anything other than my experience)

     

    I had some issues with uBot 4 and 5 crashing when I moved to Windows 8.  I also had issues with other products (Office 2013) locking up on my device as well though so, I'm not sure it was a uBot issue.  I recently updated to Windows 8.1 and haven't had the problem with uBot 4 (or Office) freezing at all since then.

     

    I have tried uBot 5 off and on with both windows 8 and 8.1 and can't get through building even the simplest bot without freezing and crashing so I am holding off using 5 for a while.

     

    The only other thing I can suggest is that if your profile is accurate and that your system truly has less than 1GB of RAM then that could be a contributing factor as well.

  9. So close I can taste it. I didn't bother waiting around to see if I could start the bot with an IF command in the batch file. But I'm able to save a new text file after I run the MySQL query. I'm pretty much there, my ONLY issue is that after it runs the query, if there is no information in the query then it will still save a blank text file. I'm using the text file as my IF statement. If present do this, if not do that. So I have to figure out how to only save the text file if there's info in the DB and then it's ready.

    Another option might be to let the text file save and then evaluate the file to determine its size.  If the file size>0 then proceed.  The get file info function allows you to evaluate the file size and I think it is available in this free plugin:

     

    http://www.ubotstudio.com/forum/index.php?/topic/13237-free-file-management-plugin-multiple-commands-and-functions/

    • Like 1
  10. Take a look at TJ's video about filtering lists, this my help you https://www.botguru.net/ubot-studio-tutorials/filtering-lists-remove-from-list-ubot-studio-v4/

    Thanks, I think this is the approach that I need to take!  The common list item approach above returns a list of just the unique common items without duplicates of those values.  Thanks again.  I may get to sleep tonight afterall!

    • Like 1
  11. You can do this:

    1st use two lists and add all values to both, but use different options (first list shouldn't "delete duplicates" set to YES and the second one to NO)

    2nd subtract the list without duplicates from original list, and you will get left with duplicates.

    This was the exact approach I was trying, but it looks like subtract lists subtracts all instances of the duplicate values so it removes all Reds and Blues from the first list and not just one instance of them. I keep getting an empty list as a result...

     

    I also played around with common list items using the above approach of creating the multiple files but can't think of a way to make that work because I think that will only returns the non-duplicate items and excluding the ones I actually want.

  12. I've been trying to solve this and just can't seem to figure out how:

     

    List 1 contains the values:  Red, Blue, Green, Red, Yellow, Blue, Orange

     

    What I am trying to do is identify any duplicate value(s) in List 1 and save those value(s) to List 2

     

    In the above example, List 2's values would then be: Red, Blue

     

    I am sure there is an easy way to do this, but I think lack of sleep is taking it's toll on me!

×
×
  • Create New...