Jump to content
UBot Underground

Help me scrape proxies from HIDEMYASS


Recommended Posts

This is driving me crazy, but I understand it's all part of the learning process. The code below is where I'm at now. I can't figure out how to use a wild card to collect all the proxies targeted. Thanks to anyone who helps!

 

navigate("http://www.hidemyass.com/proxy-list/", "Wait")
wait for browser event("Everything Loaded", "")
change checkbox(<name="ac">, "Unchecked")
change dropdown(<country dropdown>, "United States (26)")
change checkbox($element offset(<name="sp[]">, 0), "Unchecked")
change checkbox($element offset(<name="ct[]">, 0), "Unchecked")
click(<id="updateresults">, "Left Click", "No")
add list to list($scrape attribute($element offset(<outerhtml=w"<span id=\"*\" style=\"float:left;height:0;width:0\"></span>">, 2), "innertext"), %prox, "Delete", "Global")

Link to post
Share on other sites

Hi,

 

This should work. I added code to include the Port number for each IP Address.

 

Sample code:

navigate("http://www.hidemyass.com/proxy-list/", "Wait")
wait for browser event("Everything Loaded", "")
change checkbox(<name="ac">, "Unchecked")
change dropdown(<country dropdown>, "United States")
change checkbox($element offset(<name="sp[]">, 0), "Unchecked")
change checkbox($element offset(<name="ct[]">, 0), "Unchecked")
click(<id="updateresults">, "Left Click", "No")
wait for browser event("Everything Loaded", 30)
clear list(%paddress)
clear list(%pport)
clear list(%prox)
add list to list(%paddress, $scrape attribute(<outerhtml=w"<span><style>*</span>">, "innertext"), "Don\'t Delete", "Global")
add list to list(%pport, $scrape attribute(<outerhtml=w"<td>
*</td>">, "innertext"), "Don\'t Delete", "Global")
loop($list total(%paddress)) {
   if($comparison($list position(%paddress), "<", $list total(%paddress))) {
       then {
           add item to list(%prox, "{$next list item(%paddress)}:{$next list item(%pport)}", "Delete", "Global")
       }
       else {
       }
   }
}

 

Kevin

  • Like 1
Link to post
Share on other sites
  • 2 years later...

i try to use this bot but dosen't work ;/ Someone can fixed it ? please

 

I edited it to work in a similar way it did before. It doesn't look like there is any great way to get that port so I scraped the table to get it but there is probably a better way to do it if you want to put the time into finding it

navigate("http://www.hidemyass.com/proxy-list/", "Wait")
wait for browser event("Everything Loaded", "")
change checkbox(<name="ac">, "Unchecked")
change checkbox($element offset(<name="sp[]">, 0), "Unchecked")
change checkbox(<(name="a[]" AND value=0)>, "Unchecked")
change checkbox(<name="pl">, "Unchecked")
change checkbox(<(name="ct[]" AND value=1)>, "Unchecked")
change dropdown(<name="pp">, "100 per page")
change attribute(<name="c[]">, "value", "United States")
wait(1)
click(<id="proxy-list-upd-btn">, "Left Click", "No")
wait for browser event("Everything Loaded", 30)
clear list(%paddress)
clear list(%prox)
add list to list(%paddress, $scrape attribute(<outerhtml=w"<span><style>*</span>">, "innertext"), "Don\'t Delete", "Global")
clear table(&table)
scrape table(<id="listable">, &table)
set(#test, $scrape attribute($element child(<tagname="tr">), "innerhtml"), "Global")
set(#row, 0, "Global")
loop($list total(%paddress)) {
    add item to list(%prox, "{$next list item(%paddress)}:{$table cell(&table, #row, 2)}", "Delete", "Global")
    increment(#row)
}

  • Like 1
Link to post
Share on other sites

thx ;]

 

 

any ideas where i can find free list of proxies ?

 

Sure thing:

 

http://www.proxyfire.net/forum/forumdisplay.php?f=14

http://www.blackhatworld.com/blackhat-seo/f103-proxy-lists/

Find your own pretty easily by doing this as well:

 

site:blogspot.com ":80" +":8080"

 

^^ in Google then change the time to be last 24 hours or even last week if you're just looking for new sites. Generally the homepage or blog feed of those Blogspot sites will be easily scrapeable.

  • Like 2
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...