Jump to content
UBot Underground

Yagami

Fellow UBotter
  • Content Count

    41
  • Joined

  • Last visited

Everything posted by Yagami

  1. Hi, I'm struggling for many days now to run a simple Python script that requires selenium to open an HTML page. Do you guys have any script example to share so I can compare and see what is not working with mine? This is my script (I'm not even sure if it's the way to do it. I didn't find any newbie-friendly documentation so far, so I improvised): define $Python file path { return("E:\\Dropbox2\\Dropbox\\Ubot\\Ubot\\Python\\WPy-3702\\python-3.7.0\\python.exe") } define Command Python { run python($plugin function("ExecutePython.dll", "Execute From Code", "import selenium from selen
  2. Thank you for your help. I got it figured out.
  3. Hi there, I'm trying to click an element to upload an image but it doesn't work. And if I click on the wheel in the click command I get this error: When I click on stop script Ubot crashes. Any idea what am I doing wrong? I<m trying to click on image in the first li. <ol id="MediaUploadedImages" class="ui-sortable"> <li class="pic-placeholder"> <div class="image-area" style="background-image: url(https://ca.classistatic.com/static/V/6337.1/img/placeHolder/generic.svg);"></div><div class="image-toolbar"></div> </li> <li class="pic-pl
  4. Toi tu es français. Je l'ai deviné en lisant quelques lignes de ta description. We say long tail, not long train (mots-clés à longue traîne) I'm on a big thing at this moment and it's growing insanely fast. I've got the dev edition to create simple bots for this starving community but it'll be too long for me to answer all the needs. Et c'est pas demain que ça va s'éteindre I'm a marketer with 14 years experience in SEO, Adwords and FB ads and I would like to do a JV with you. Your site needs a lot of optimisation. You've got some gold nugget there, but you are doing some things wrong. I do
  5. Thank you. indeed I was unable to scrape some elements without scraping other unwanted elements. With xPath the problem was quickly fixed. I still need REGEX for finding and replacing.
  6. Hi, I had to apply a regular expression to modify my list and the only way I found to do this is to create a temp list that will contain my initial information and then use an add list to list to apply the regex. add list to list(%column212,$plugin function("HeopasCustom.dll", "$Heopas Xpath Parser", $plugin function("HeopasCustom.dll", "$Heopas Text Encode/Decode", "HTML Decode", %followers), "//div[@class=\'_st _ss _sw _sk _5j _sm _sq _no _np _nq _nr\']", "InnerText", ""),"Don\'t Delete","Global") add list to list(%column2,$find regular expression(%column212,"\\d+(\\.)?(\\d+)?k?(?=\\s*fol
  7. Hi guys, I just discovered xpath and holly cow, this thing is so powerful. At first I was like "Ok, why complicate things when I can use REGEX and wildcards?" Then I watched a video on how to extract URL and classes, than I was shocked at the simplicity of the thing. With a simple line of code (see below) I was able to extract, decode & put in a list the offset of the class I wanted, where before I had to set variable (for new list item), create a loop, set a list, add to list, create a REGEX, decode & increment, 7 lines in total. alert($plugin function("HeopasCustom.dll", "$Heopas
  8. Yes there is 20% off for BF sent 2 days ago. Check you email box.
  9. Hi, thank you for taking from your time to help. The code works, but there is one exception that I didn't think of and it's when we have 1k followers for example. The code above will return 1,00. Is there a quick work around with Regex or I have to use conditions? Thanks again
  10. Hi. I'm trying to extract "xx.xk" in the string "17 board • 2.1k followers" and format it to 2100. Here is my code: set(#string,$scrape attribute(<class="_st _ss _sw _sk _5j _sm _sq _no _np _nq _nr">,"innertext"),"Global") set(#k,$find regular expression(#string,"[0-9]*.[0-9]k"),"Global") set(#k,$replace(#k,"k",00),"Global") set(#k,$replace(#k,".",""),"Global") Is there a better way to do this? Thank you,
  11. This is the code I use to scrape the page (I have another js script for scrolling) add list to list(%searchlist,$scrape attribute(<href=w"/*/">,"href"),"Delete","Global") The site I try to scrape is Pinterest followers pages (click on any profile, click on followers and there you are). Thank you
  12. So, I scraped the class of the offsets that I have now in a list. How can I scrape each row of this list in a table (row 0 is usernames and row 1 is followers # )?
  13. Hi, I'm trying to scrape only profiles that have more than 1k followers, but I can't see how to do that. A little help would be appreciated. Here is what it looks like on the page followed by the html code of an offset. <div> <div class="_0 _3i _2m _kq _ll"> <div class="_0 _3i _2m _2f"> <a href="/lovely_cat_dogs/" rel=""> <div class="_0 _3i _2m"> <div class="_0 _3i _2m _2f" style="width: 100%;"> <div class="_mm _29 _2f _mp _53"> <div class="_0 _3i _2m _2f" style="background-color: rgb(239, 239, 239); padding-bottom: 100%;"> <img alt="We
  14. Hi, I've compressed my compiled file with mpress and moved it to my desktop and run a antivirus scan on it. It wasn't flagged as a virus by Avast but my bot is not opening after the compression. Do you think that this is may be a solution to prevent false positive if we can find a way to compress our exe and it is still working correctly? Thank you,
  15. Thank you Sanjeev, That was helpful, but I want my own menu in a different language. I want to either translate the actual menu and add my own fields or completely hide the English menu and create my own. Is that possible? An other option would be to have all my UI in my main tab and access my other tabs through a button. Example : In the screenshot below I want to be able to login in the actual tab and scrape followers which the code is in another hidden tab but still execute on the browser of the first tab. Thank you.
  16. Hi, I was wondering if I can create my own menu and can we open a window where the user can enter his preferences on how the bot will work? An exemple would be appreciated. Thx,
  17. No I've checked every pixel and no links anywhere!
  18. Hi, I'm trying to download these courses that are offered free in the store, it's been 3 days that I try but I never received the link. I only receive receipts of the order that is it. Can someone explain what I'm missing? Thank you.
  19. Wow that's exactly what I was looking for. I'll hold my questions for now. I've a lot to be done Did I say Thank you ?
  20. BTW is there a way to browse the page in the native UBot browser without loading the images? Thanks
  21. So here the "bookmarks" & "&_" that you increment to simulate scroll?
  22. Thanks. Where is the pagination in your code? I guess that I will have to modify something in there to simulate the scroll?
  23. What a dumb error, my bad. 5 days scratching my head and making up theories about what should be the problem when it's an error in my code. Thank you a lot Varo. At least I've dived my nose in what I'll need in the future in order to speedup the process by using sockets. Even though I've solved my issue I still wonder how to do a HTTP POST request to Pinterest, as the tutorials I followed all have something like ?page=x as URL that you have to call, but with this baby it contain a lot of data that it's almost impossible for me to guess how to do it :/ Thanks again Varo and the others (more
  24. Still stuck guys, if someone can kindly look at my code and tell me what I'm doing wrong. Thank you
×
×
  • Create New...