Jump to content
UBot Underground

Buckethead

Fellow UBotter
  • Content Count

    21
  • Joined

  • Last visited

Posts posted by Buckethead

  1. here's my code at the moment,

     

    add list to list(%scrapes$list from text($scrape attribute(<data-subjectid=w"*">"href"), $new line), "Delete""Global")

     

     

    at the moment, it scrapes the href from the page, and it looks like this:

     

    /wishlist/and?subjectId=20059

    /wishlist/and?subjectId=35252

    /wishlist/and?subjectId=54554

     

    etc...

     

    how do I remove everything before the numbers, so all i'm left with is this, each on a separate line, eg:

    20059

    35252

    54554

     

    cheers

  2. add list to list(%Names1, $list from text($page scrape("<div class=\"image-container\">
     <a href=\"", "\">
     <img"), $new line), "Delete", "Global")
    add list to list(%Names2, $list from text($scrape attribute(<href=w"*">, "fullsrc"), $new line), "Delete", "Global")
    add list to list(%Names3, $list from text($scrape attribute(<href=w"*">, "href"), $new line), "Delete", "Global")
    
    

     

    That pulled every url (including .css links/outbound/inbound unrelated links from the page...

     

    here is some more source code from the page that could help?

     

    Once again, the href="kelvin.hos"  (the underline) is the only type of links that I want to scrape

    <div class="details bold">
                            <a class="clickable-target" href="kelvin.hos">
                                <h4 class="orange">Kelvin  Hos</h4>
                            </a>
    
    
  3. I'm trying to scrape the href urls from a page, however so far I've been unsuccessful... The page has different peoples names on it, with each of their names containing a link to their profile.

     

    This is the code that contains the hreflink (the person name contains the URL that i want to scrape

     

     

    <li class="clickable">
    <input type="hidden" id="quick_follow_username_15768" value="MathewPeter">
    <input type="hidden" id="quick_follow_name_15768" value="Mathew Peter">
    <div class="image-container">
    <a href="Mathew Peter">
    <img src="http://img.com" alt="Mathew Peter" >
    </a>

    
    
    
    I want to grab the hyperlink that is bolded with the persons name above...
    

    do I have to use regex to do this? (havent got much experience) any help would be most welcome, cheers

  4. Hi, just a quick question , when i tried to use this code in my bot, I can't seem to get the percentage incrememts of the loading bar to match the progress of my bot,

     

    see this code here: set(#looptotal, 20, "Global")

    set(#loopcount, 1, "Global")

     

     

    I want the loading bar to cycle through the loop count that corresponds with the number of urls it visits from a text file,

    where loop count = each url out of say 100 urls in the text file, so 100 would be the looptotal, but how do I define it so it automatically works out the number by the amount of urls in the text file (because the number of url's in text file will vary)

     

    how would I best go about changing this code for that purpose? thanks

×
×
  • Create New...