Search the Community
Showing results for tags 'list'.
-
I have a bot that needs to scrape the seconds (#s), minutes (#m) or hours (#h) that is listed on the first 15 search results. It just won't save the times properly at all-I can't get them separated into separate rows or do a replace to add in commas or anything. I'm very stuck-what am I doing wrong? Here is my code: clear list(%search term) clear list(%times) navigate("https://twitter.com/search-home", "Wait") type text(<id="search-home-input">, "puppy", "Standard") click(<class="button btn primary-btn submit selected search-btn">, "Left Click", "No") wait for element(<titl
-
I am working on a url scraper, and the website tends to include the referall source, but I cannot include that when saving it to a file later on. I was successful in getting it to grab everything after the "/". testwebsite.com/ubotstudio?ref=referral This is what I have so far: [^/]*$ testwebsite.com/ubotstudio?ref=referral How should I have it match everything before the "?" sign?
-
Hey I'm trying to scrap a page for some keywords and place it in a list, then I want that list to check with another list from a text file. I then want the bot to click all those keywords(links) that are on both of the lists. I tried diffrent sulutions and guides for many many hours now without any luck. Would love some help, or so quick advice on how I should solve this.
-
Hello guys.. What I need to do is find a list of all the possible words given to contact pages. In this case: Contact Contact Us Contact Us Now etc... I need to follow all the list until I found the matching Innertext and it is a link. Then click it to access the contact page. Can someone help me with this? Might be easy I search the form and I only found this: http://www.ubotstudio.com/forum/uploads/monthly_01_2010/post-298-12645245697875_thumb.jpg Which is old by now. Thanks in advance.
-
Is it possible to have the program start at a specific position of a list? ex list: dog cat horse shoe How can I have the program start with horse? thanks
-
Hi I'm having a hard time wrapping my brain around this one. Here's the problem, I have a large csv table file with about 1700 rows and maybe 50 columns and with a single row of labels as the column header at the top(row 0) that I want to convert to individual csv files (in this case it's about 34 files) with 50 rows of the content and the label on the first row. Once I make each file I will want to save it but I think I can figure that part out. Is there a way to do this in ubot? It seems like it should be able to but I'm not able to figure it out yet.
-
I'm sure I'm doing something wrong so any help is appreciated! I am trying to do something similar to PHP explode and saw a very helpful post about that here. I have a text file that contains data like this: firstname1,lastname1,email1,month1,day1,year1,phone1 firstname2,lastname2,email2,month2,day2,year2,phone2 and so on... What I have done is: add list to list(%mylist, $list from file("test.txt"), "Delete", "Global") loop($list total(%mylist)) { navigate("*** url removed ***", "Wait") clear list(%itemlist) add list to list(%itemlist, $list from text($next list item(%
-
Hello everyone I need a little help with something, I am trying to code a bot that will unfollow users that don't follow back. The way that I am trying to code this is to scrap the list of following users and save them to a list, then go to the followers page and scrape them into the same list with out deleting duplicate. What I am trying to figure out, is there a way to only remove all but duplicates from the list then save the list and then remove the duplicates from the list that was left, then I would have to go back and scrape the original following page into the same list and then remove
-
Are these statements valid for detecting end of a list?
Sanjeev posted a topic in General Discussion
if($comparison($list position(%testList), "=", $list total(%testList))) { then { set list position(%testList, 0) ----------- if($comparison($list position(%testList), ">=", $list total(%testList))) { then { set list position(%testList, 0) Thanks. -
I am loading html from a list. so it has a lot of <br> tags etc, but when the bot loads the line, it is getting cut off. I also have some ascii in the titles ♥• that keep coming out as gibberish�����. It works just fine manually. does ubot treat html in a list differently?
-
hi guys, hope someone can help. basically im at a point now where im stuck. my situation or what i would like: i have a list of accounts. i log into those accounts in a new browser. i try to scrape a list contained within & unique to each of those accounts. i then want to go to or navigate through the scraped list and perform certain actions for that account. problem is that something goes wrong with the scraped lists & the actions subesquently dont perform. someone pleeeeease help! this is what ive got minus the UI stuff: thanks guys and really hoping someone can hlep me