Jump to content
UBot Underground

Making A Proxie Scraper


Recommended Posts

hey guys so im trying to make a proxie scraper that goes to http://proxylist.hidemyass.com/ scrapes the list of proxies and saves the IP and the port in a txt file with the format IP:PORT 

 

but i dont got the dev version so i dont got scrape table could someone point my in the right direction 

Link to post
Share on other sites

If nobody comes up with a good idea you can use this but honestly it probably isn't the best way to do it by a long shot. You can probably scrape the rows into a list and go from there but it will get messy either way.

clear list(%proxies)
clear list(%rows)
add list to list(%rows, $scrape attribute(<tagname="tr">, "innertext"), "Delete", "Global")
loop($list total(%rows)) {
    set(#row, $next list item(%rows), "Global")
    if($comparison($find regular expression(#row, "\\d+\\.\\d+\\.\\d+\\.\\d+"), "!=", $nothing)) {
        then {
            add item to list(%proxies, $replace regular expression($find regular expression(#row, "\\d+\\.\\d+\\.\\d+\\.\\d+\\s\\d+"), "\\s", ":"), "Delete", "Global")
        }
        else {
        }
    }
}

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...